Jump to content

LarryO

Member
  • Content Count

    150
  • Joined

  • Last visited

Community Reputation

6 Neutral

About LarryO

  • Rank
    Journeyman

Personal Information

  • Location
    Victoria BC Canada

Recent Profile Visitors

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

  1. For months now I've been annoyed with this behaviour. After being away for only a day a co-worker used my station to publish something and thereafter these little bird droppings appeared whenever I put together a pdf of drawings for review. The wording of that setting is certainly not obvious that it can change such behaviour. Thanks for sharing that info.
  2. If I'm not mistaken the string values associated with a plugin are similar to the storage of default parameter values. They are stored in your application's workspace/ menu environment not the drawing file. This view is reinforced by the fact that there is no means to change the value from within plugin. While they could change from one Vectorworks installation to another that would be unlikely as the person who wrote the script would have to allow for every different variation. Such as having text strings for different language installations. The local VW reseller would be changing them in that instance before selling the regional version of VW to you.
  3. ctrl up and ctrl down for VW for switching thru pages. and if mouse driver is application aware switch it to page forward and backward for browsers and windows file explorer. and similar for Bluebeam or Acrobat Reader. although if there are even more buttons than two thumb buttons, I think I would try forward delete and keypad enter if you are a left-hand typist on a full size keyboard. That way you don't have to release the mouse quite as often.
  4. Thanks Josh, if they decide to update to VW2020 here I might take you up on that offer. [VW2019]
  5. While there is the linear PIO template which displays the 3D origin, z-axis rotation and vector length; It doesn't display a WorkPlane angle. Is there a hidden special parameter name for a second 3D control point or WP angle? Has anyone seen an example of setting up the OIP for this? Are there guidelines for presenting an object in the OIP which has two 3D defining points? It's not flat to the world x-y work plane. Could it be the first or second example, or both or something else entirely? 3Dpoint origin(x1,y1,z1), 3Dpoint2(x2,y2,z2) 3Dpoint origin,rotation (about the z-axis), WP angle (from the world x-y work plane), vector length. Larry
  6. Thanks Pat, I know you are with 99% probability correct. Today with a pre-defined 3D symbol that didn't contain the WF-3D PIO I was easily able to rotate it into the correct position. The concept of the environments inside and outside the PIO I have fairly down pat now. I created a stair and railing design tool about four years ago with the linear PIO template. I had that thing doing the flip and rotate dance all over the screen until I sorted out the relationship between an insertion point in the world origin and a PIO's internal origin. I may have to explore or rule out the possibility of a definition timing issue. When writing out a script for creating pickets in an inclined guardrail I had to separate it into a tool part and a linear object part. I simply couldn't capture the first set of control points inside the linear PIO. They had to be captured before creating the PIO using a creation tool. Aside from the WF-3D PIO, the original 3D symbol I attempted to rotate was defined inside the linear PIO. The PIO also places the instance which might not be created before the script attempts to rotated the instance. I forgot to put in a reset/regen. More testing required. Thanks guys for all the input.
  7. Thanks Pat, I was making sure I fully explored Raymond's suggestions to see if I could find a work around. I have not had any issue yet getting the handle to the Wide Flange - 3D object. The issue has been getting one of the rotation functions to rotate it about the y-axis while it is inside the linear PIO that I've been writing this script for. Or converting devolving it from the Wide Flange - 3D object to the basic extrude for rotation. Failed on that front too. SymbolToGroup and Ungroup don't work on it either inside the linear PIO. I'm beginning to think that it is the linear PIO environment that is interfering the 3D operations. I tried to rotate a 3D symbol instead of the PIO last night and got nothing on the x or y-axis rotations, only on the z-axis. So I will probably have to write my own steel extrusion routine, because lengthening the extrusion in a linear fashion is the way to go with this. The current tool is too clumsy to create 3D structural assemblies.
  8. Well guys, Julian , Ray, The fun continues. I was unable to convert an instance of a Wide Flange - 3D PIO to a group with SymbolToGroup() inside a linear PIO. (I ungrouped my linear parent PIO after it had finished and found the WF-3D PIO still existed.) I was also unable to rotate a 3D symbol about the Y-axis inside a linear PIO. I placed the Wide Flange - 3D inside a symbol, thinking that if I could rotate a symbol instance I could convert the symbol back to a group and ungroup that I could get the steel shape orientated in the direction of the control point. I am 100% sure that using LSActLayer is currently capturing a handle to the parent PIO and not the WF-3D PIO inside, which may rotate something other than the parent PIO once there a more objects in the layer. LNewObj does return the same WF-3D handle as the create custom object function. It's beginning to appear that the approach to tackling this little monster is to extract and import the beam data and create my own beam extrusion where the axial rotations can be set. Let's hope it is still possible to rotate or draw a polyline onto the y-z plane for extruding in the x direction. 🙂
  9. The first goal after getting this Wide Flange laid down in a beam position in plan view is to be able to draw in one like we do lines. Drawing them out in linear fashion point to point. Springing up out of the ground plane as these steel shapes do they easily serves as columns or posts, but not so as beams and rails.
  10. Hmmm, it does do a rotation but I'm fairly certain it's rotating the parent PIO and not the beam inside. Every time the PIO is reset it rotates to a new position, like when one changes the parent PIO's length either in the OIP or with the control point. I've never thought of a PIO being hybrid object like a symbol? Am I'm wrongly creating this 3D object in its 2D environment? EDIT: I don't think so. I'm leaning towards my earlier hypothesis that the 3D Rotation functions are looking to replace values in X and Y rotation parameters that don't exist or buggy pointers.
  11. You know I think that part of this puzzle lies in this description. There being no X or Y rotation values to be replaced in a point object's format could be the underlying problem here.
  12. Thanks, I'm still 😕 Adjusting for the missing zero Set3DRot(BeamHandle,0,45,0,0,0,0); I pasted in your text exactly. I tried it in a tool, a point, a linear and a palette script. All four produced a steel column at 0,0,0 rising perpendicular to x/y plane along the z-axis, not rotated 45° from vertical as was anticipated. Note that it does rotate about the z-axis, which is the location where I placed the missing zero value, in bold. So this responds Set3DRot(BeamHandle,0,0,45,0,0,0); but changing the value for the x or the y axis is doing nothing. I just don't get it. I don't really want to do my own beam oriented extrusions and lose the ability to pull data off their Wide Flange object. Oh well.
  13. thanks Julian, that is definitely a DOH! Homer moment for me. I've tried this in both a tool and linear object testing the bracketed lines one by one, VW2019 BeamHandle:=CreateCustomObjectN('Wide Flange - 3D',0,0,0,FALSE); SetRField(BeamHandle,'Wide Flange - 3D','__series_2', 'AISC (Metric)'); SetRField(BeamHandle,'Wide Flange - 3D','__size_2', 'W200 x 22.3'); SetRField(BeamHandle,'Wide Flange - 3D','Length', '3000mm'); SetRField(BeamHandle,'Wide Flange - 3D','__current_series', '2'); SetRField(BeamHandle,'Wide Flange - 3D','__current_size_2', 'W200 x 22.3'); {Rotate3D(0,45,0);} {HRotate(BeamHandle,0,45,0);} {Set3DRot(BeamHandle,0,45,0,0,0,0);} {SetRot3D(BeamHandle,0,45,0,0,0,0);} {Locus(0,0); SetSelect(LNewObj); SetSelect(BeamHandle); SetView(-90,0,0,0,0,0); DoMenuTextByName('Rotate Right 90',0);}
  14. Does anyone understand why it has to be so difficult to work the 3D steel shapes in VW? They all start as point objects extruded along the positive z-axis. I've tried to rotate the Wide Flange - 3D with all three rotation procedures Set3DRot ; SetRot3D ; Rotate3D (edit: and HRotate) and all I can accomplish is rotation about the z-axis. I went so far as to attempt to ungroup to see if I could rotate the extrude but neither ungrouping procedure HUngroup nor Ungroup works with this object. They both deselected the Wide Flange beam regardless of selecting Yes in the latter.
  15. It sounds like your angle precision is set less than your orthographic grid's precision. Your precision for ortho would be minimum of one decimal place more than the smallest dimension you measure to maintain accuracy. Then your angle accuracy needs to be better than that and that accuracy is also relative to the distance from the rotation point to which you expect accuracy. If you are rotating your environment to angles other than whole degrees and you do this at 5 metres from the origin but expect accuracy to 0.1mm at 100 metres you have lost 5%(or maybe it's 20%) of your accuracy by doing the rotation at only 5M, unless your are entering the rotation value from the keyboard.

 

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.

×
×
  • Create New...