Jump to content

LarryO

Member
  • Content Count

    92
  • Joined

  • Last visited

Community Reputation

1 Neutral

About LarryO

  • Rank
    Apprentice

Personal Information

  • Location
    Victoria BC Canada

Recent Profile Visitors

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

  1. I didn't get any responses when posted to General Discussion. Re-posting here as I couldn't figure out how to move the original post to here. It is frequently desirable to import a PDF to use as a background for locating our work in a building. For reasons of liability and clutter we find it to be a good practice to remove all referencing and architectural items (millwork, furniture, hatching). Are there any settings which can improve the quality of the image created when ungrouping the pdf. I find that there is significant degradation between before and after ungrouping. Low dpi and spray artifacts possibly from anti-aliasing are introduced. Alternately the line work extracted from the pdf loses its differentiating qualities that could have been utilized efficiently to delete clutter, etc. Are there settings somewhere which can be utilized to reduce information and quality loss during PDF conversions?
  2. It is frequently desirable to import a PDF to use as a background for locating our work in a building. For reasons of liability and clutter we find it to be a good practice to remove all referencing and architectural items (millwork, furniture, hatching). Are there any settings which can improve the quality of the image created when ungrouping the pdf. I find that there is significant degradation between before and after ungrouping. Low dpi and spray artifacts possibly from anti-aliasing are introduced. Alternately the line work extracted from the pdf loses its differentiating qualities that could have been utilized efficiently to delete clutter, etc. Are there settings somewhere which can be utilized to reduce information and quality loss during PDF conversions?
  3. LarryO

    Customise mouse button to edit attributes

    Yes a script is the means by which you can edit one or many items of a selection set and change one attribute or many in a batched or singular edit. If you have a specific theme to your attribute edits this is a time saving method which is very similar to the attributes by class methodology. But if all you need is to do open and close the attribute pallet after making selections then simply enter the shortcut into the mouse key. If your menu doesn't have one already programmed then you need to edit the menu first and you may as well make it one of the multi-key finger stretching arrangements, shift control alt something that are less utilized
  4. LarryO

    Searching for Data in an external TXT file

    if you are in an infinite loop. This could be as simple as checking for NULL data from your read line request to determine EOF. I don't believe that files embed a readable ascii 4 character because EOF is a control state by definition.
  5. LarryO

    Curtain Wall: equally spaced vertical frames

    Thinking aloud here. Write a selection script to find the identical children, ignoring location, within the parent. If VW does not give the the parts type numbers perhaps one can select one part and a script can identify and then flag selected all the other children in that parent that are the same size/length/orientation*. I guess the initial challenge is identifying what the program sets as selected (the child or the parent) and returns a handle to. *Do the children/extrudes have a common rotation like zero for horizontal mullions and ninety for vertical mullions. I guess another possibility is that curtain walls are a table of parameters for the parts and a routine that generates the image. Hmmm there might be no boolean selection flag/bit as we currently understand for each of the children.
  6. LarryO

    Move dimension text left or right

    It is percentages expressed as a decimal between the witness lines but I can't recall if it is only positive percentages leading to or from the starting witness or if negative percentages can also be used and it is from the mid point.
  7. 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);
  8. 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.
  9. LarryO

    get default font

    Thanks Pat
  10. 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.
  11. 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
  12. 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.
  13. 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.
  14. 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.
  15. 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)

 

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.

×