Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About LarryO

  • Rank

Personal Information

  • Location
    Victoria BC Canada

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. LarryO

    drawing a cupboard

    See if this works for you. Procedure kast; VAR a,v,l:REAL; teller:REAL; verdeling:boolean; tk:string; BEGIN a:=pdiepte; v:=pv; l:=Plinelength; verdeling:=pverdeling; tk:=ptk; IF tk ='lage kast'THEN BEGIN rect(0,0,l,a); FillBack(0); FillFore(257); FillPat(2); {change made here} PenSize(4); PenBack(256); PenFore(257); PenPatN(2); DSelectAll; IF verdeling THEN BEGIN PenSize(1);PenBack(256);PenFore(257);PenPatN(-499); teller:=1; line(0,a); MoveObjs(v,0,FALSE,FALSE); REPEAT Duplicate(v,0); teller:=teller+1; UNTIL ((v*teller)>l-v); end ELSE IF tk ='hoge kast'THEN BEGIN rect(0,0,l,a); FillBack(1238); {I did not check to see if this value is in range} FillFore(257); FillPat(2); {change made here} PenSize(4); PenBack(256); PenFore(257); PenPatN(2); DSelectAll; IF verdeling THEN BEGIN PenSize(1);PenBack(256);PenFore(257);PenPatN(-499); teller:=1; line(0,a); MoveObjs(v,0,FALSE,FALSE); REPEAT Duplicate(v,0); teller:=teller+1; UNTIL ((v*teller)>l-v); end END; end; end; Run (kast);
  2. LarryO

    drawing a cupboard

    You seem to be displaying fill pattern 1 which is the foreground but changing the background colour. Try setting it to fill pattern 2 or changing the fill foreground colour. Also using PushAttrs and PopAttrs for storing and resetting the current attributes is a good habit. If you extrude your rectangle it will have height and be 3d, after which it can be moved with the move3d procedure. You could also switch the plane mode to working plane before drawing the rectangle, after which move3d should work on the rectangle. just remember to return it to its previous setting. If you simply want to know the cabinet elevation in plan view, simply create another parameter for displaying in the object info palette.
  3. LarryO

    get default font

    Thanks Pat
  4. LarryO

    get default font

    Is there a procedure that returns the font id or name of the current default setting? Or does everyone simply create a piece of text and check the font of what was created? When checking for an installed font such as Wingdings or Arial Unicode MS will the procedure GetFontID return nil if it is not installed? The Arial font installed on Windows 10 platforms is incomplete compared to the Mac and doesn't print tick/check marks and boxes with check marks and some other useful glyphs.
  5. LarryO

    Get Symbol Instance from object in Symbol Def??

    The only identifying qualities of symbol instances are the location of the instance and the data in its attached record. The objects within only exist within that symbol's definition. They are photocopied at each instance of the parent. Therefore if you place a 4 stall toilet room on three floors of a dormitory you have three instances of the parent toilet room and four instances of the toilets within the file. The latter being in the file's symbol definition area. You would not be able to uniquely number (identify) the toilets throughout a drawing file with the data that's placed within a record attached to the toilet instance. An additional record field for each internal symbol would have to be attached to the parent object's instance. I don't believe symbol instances create this additional structured data automatically. Now if that parent object was a plug-in instance and not a symbol there is an ability to pass data to records attached to the objects within whenever it is regenerated. No such capability exists for symbols, although you can pretend by linking text to a data field at the parent level. I hope that helps re-focus the problem. Larry
  6. I originally posted this in the general section but with a plugin generated symbol. I've now confirmed that it is related to page base symbols in VW2019 and only coincidental that I first noted it using our titleblock which inserts a page base symbol. What happens is that the visual boundary definition of page based symbols are incorrect after having entered and exited annotation editing of a standard viewport. Screen capture attached of condition after exiting edit mode. It may also be related to snapping while in group/container mode because dotted/dashed outlines of items in our titleblock appear as the mouse moves through the annotation editing environment allowing one to snap to points of the page based symbol. Not where it is but where it would be if the symbol had been scaled up using the view port's scale factor. Below shows the boundary of that slope symbol. Its 10x larger than it should be which is the view port scale.
  7. LarryO

    Dimensioning to grouped items

    I think I have figured out how to repeat the situation. I have a simple polygon without any arcs, had six sides, appearing like a stair stringer made from a C channel. it was drawn up in layer space on an incline with a symbol representing bolted on stair treads duplicated up the incline. When viewed through the view port only pairs of black solid fill circles are shown representing the holes that need to be drilled through the stringer. Now this was all grouped and assigned a class that could be visible or not. Separates the stringer from the guardrail that I also usually draw at this time but probably not required to show the problem. Now on a sheet create a basic view port and turn on the applicable layer. Note that I normally have a layer override so the class colours all become black or grey for printing. Rotate the view port so the stringer becomes horizontal, usually some where between 28 and 32 degrees. Crop the view port. Scale is around 1:10 to 1:16 but not part of the problem as far as I can tell. Now this is what I am thinking is triggering the inability to snap; flip the view port horizontal. I often do this to show the opposite stringer without having to draw another. Now try to sequentially dimension across the top side of the stringer. You will probably be able to snap to circle centres but not all of the polyline vertexes nor the circle quadrants. The latter for obvious reasons, the rotataion of the view rotates those as well. But the flipping of the view port causes the vertex snap point to be somewhere else other than the anticipated visual location. Writing this at home so I don't have access to a file. I am also wondering if there is a connection to the ghost of our titleblock symbol that I posted an image of in a previous posting. That is a plugin of a page based symbol (the green ones) that is being resized based upon the scale of whichever view port one happens to be adding annotation to rather than the 1:1 scale of the sheet where they typically reside. It regains its proper size through any form of editing or generally movement. The lines and text, etc still display correctly throughout, only the perceived size changes, that tint that appears when selection is made.
  8. LarryO

    Dimensioning to grouped items

    Arrgh, happened again this morning. Viewport was not rotated this time; and it was snapping to centre points but not some of the end points of simple lines. Saving the file didn't change the behaviour but restarting VW did. I just updated the drivers to my Razer mouse, its been a couple of years. Maybe that will fix the issue.
  9. LarryO

    19 years!

    Lost my original account sometime in the late 90's when it was still MiniCad. I couldn't remember which email account I had sign up with. I was kind of wierd searching for myself as a different user when I wanted some applescript/vectorscript that I had shared with the community way back. Postings since lost to updates and change overs of these forums/bulletin boards. Its possible that I maybe on my third profile now, hehe. Happy Bronze Anniversary Mickey! (belatedly)
  10. LarryO

    Dimensioning to grouped items

    Show snap modify is definitely the setting for both class and layer. The view is 2d plan and wireframe. The objects are polylines, rectangles, circles and dashed lines. The orientation is such that the polyline appears to be a stair stringer form from steel channel with rectangles forming the mounting and closure plates at both ends and two parallel rows of circles solid black representing holes in the steel. The stringer is drawn at the intended slope in the design layer space and the viewport is rotated in the sheet space so as to show the steel horizontal. At this point the stringer is dimensioned with the constrained linear dimension tool in ordinate mode, typically from left to right. I've grown accustomed to the circle snaps rotating away from vertical/horizontal but snapping to the polyline when grouped frustrates me to no end. An additional note is that the paired circle is also embedded within a symbol which representing instances of bolted in treads. Snaps do not include grid, distance, smart edge, nor tangent, the rest are active. All object points active, no datum functions, nor extensions from smart points and alternate coordinate system off. Most of the time the sequence in which I do the tasks things go smoothly, but not snapping occurs enough to be frustrating. I'll turn on the ques for a time to know when and which snaps are/are not operating.
  11. This is a long standing frustration that I have encountered over the years from the versions of VW with viewport functionality. I cannot snap to items that have been grouped in the layer environment when dimensioning them in viewport annotation mode on a sheet. What am I missing? I group items to assign the groups visibility classes for use in viewports while the basic components are assigned to classes that control lineweight, colour, linestyle, etc.
  12. LarryO

    Until Next Time

    Best Wishes! and good luck with your goals. I have appreciated all the efforts that you and your colleagues have contributed to. Larry
  13. LarryO

    General non-functionality on Laptop

    I'm not familiar with the ASUS set up but with the Toshiba laptop I have the NVIDIA processor cannot drive the built-in display. Its set up to drive the ports for external displays.
  14. LarryO

    Reducing LW of 3D objects

    Thanks Kevin, That definitely makes modeling with those 3D steel shapes more useful. Its definitely easier to add missing lines than to remove the undesirable ones.
  15. Has anyone found a means to reduce the line weight of radial start and stop edges when utilizing the 3D objects for 2D drawings? I show such an example here where 2D drawing standards would not show the lines indicated by the red arrows or they would be extremely faint. Instead all lines are illustrated using the edge profile weight. Secondarily I would like if it was easy to render voids in the material black. I've tried black circles placed within the opening but the fill colour doesn't display when using hidden line rendering and we don't want the shadowing created with OpenGL.


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.