Jump to content

Alexandre Villares

  • Content Count

  • Joined

  • Last visited

Posts posted by Alexandre Villares

  1. When you create a layer link of several layers, each becomes a separate locked "layer link object".

    You can always unlock and delete the ones that refer to layers you don't want linked anymore.

    You can also use the View/Create Layer Link... menu to add any new layer you decide to link after the initial procedure.

    Important: Z information is read only at the time of the linking. If you change your layers' Zs you should unlock, delete and re-create the affected layer links.


    [ 09-01-2002: Message edited by: Alexandre B A Villares ]

  2. Just my 3?...

    1-You can reshape more than one vertex by dragging the reshape tool in order to create a reshape-selection marquee, the vertices selected will then be reshaped together.

    2-Meshes can be reshaped by the selection tool in the same way (the selection marquee will select the vertices to be moved). You can convert 3D objects into meshes.

    3-If you have multiple similar objects you need to change/correct often, consider using symbols.

  3. quote:

    TiTaNiuM sAMuRai:
    How is your script different from clicking on Create Plug-in, then clicking Done? I believe that also regenerates all PIO's.

    It's no different. But It sounds much better to tell my clients they should call the 'redraw plug-ins' menu command I made for them smile.gif" border="0

    [ 08-21-2002: Message edited by: Alexandre B A Villares ]

  4. Samurai ,

    Have a look at this path-PIO code sample:

    {-----------------------------------} Procedure PolyPathPIO;VAR objHd, pHd, rHd, wHd : HANDLE; objName : STRING; i, n, Vtype : INTEGER; Vx, Vy, Vradius : REAL;BEGIN IF getCustomObjectInfo(objName, objHd, rHd, wHd) THEN BEGIN pHd := getCustomObjectPath(objHd); n := getVertNum(pHd); {ClosePoly;} BEGINPOLY; FOR i:=1 to n do begin GetPolylineVertex(pHd, i, Vx, Vy, Vtype,Vradius); addPoint(Vx,Vy); END; {of FOR base polygon loop} {*}GetPolylineVertex(pHd, 1, Vx, Vy, Vtype, Vradius); {*}addPoint (Vx,Vy); {* goes back to the 1st point - not very elegant a closing procedure - you might get strange behavior without this} ENDPOLY; FOR i:=1 to n do begin GetPolylineVertex(pHd, i, Vx, Vy, Vtype, Vradius); SetPolylineVertex(LNewObj, i, Vx, Vy, Vtype, Vradius, FALSE); END; {of FOR smoothing loop} SetPolylineVertex(LNewObj, i, Vx, Vy, Vtype, Vradius, TRUE); END; {of IF getCustomObjectInfo}END;{-----------------------------------}

    I think path-PIOs are not really supposed to have holes on their paths, but I have some code for holes if you want.

  5. Hi Jeff,

    Have a look, they do appear on normal wireframe 3D views, but they don't appear on layer links.

    I guess this could be considered a bug and I think it should be changed/fixed.

    I found this out when I added a 3D locus to a section marker PIO I wanted to use as guide to the automatic section tools on a layer-linked model.


    [ 08-21-2002: Message edited by: Alexandre B A Villares ]

  6. Francesco,

    Crazy idea... How about a path plug-in?

    Forget the path itself and make each node/vertex be an instance of your reference marker. The reshape tool will let you change the origin and have all markers recalculated/redrawn on the spot.

    [ 08-21-2002: Message edited by: Alexandre B A Villares ]

  7. Here goes some code to redraw all PIOs in a drawing:

    Procedure ReveilleMatin;{'r?veille-matin' is French for 'alarm clock' }{it will 'wake up' (redraw) all Plug-In Objects (PIOs) }{This will only work from inside a resource script, }{command menu (VSM) or tool (VST) } {-----------------------------------} Procedure WakeUp( H : Handle); BEGIN SetClass(H,getclass(H)); END; {-----------------------------------} BEGIN ForEachObject(WakeUp,((T=PlugInObject))); END; Run(ReveilleMatin);

    [ 08-17-2002: Message edited by: Alexandre B A Villares ]

  8. Hi Bickel76,

    Have a look at the "Layers..." panel and you will notice there are some buttons that will let you change the layer list order.

    The higher/first layer on the list is the one on top.

    Layer order superseeds object order inside the layer (front/back commands).


  9. I would like to make a copy of a Symbol Definition, in order to modify it later creating a variation of the original one...

    I can create a new symbol and inside it convert to group and ungroup an instance of the original one.

    This sort of works, but it's not very elegant and, unless I add some code, it won't do for 2D/3D Symbols:

    CopySymbol won't help because it must bring the SD from another document. Any better ideas?


  10. How very misinformed of me, thanks for the clarification Biplab!

    Good luck for you guys at the STL implementation front. Even being less smart than NURBS-based IGES, STL seems to be handy for prototype-machinery output.

    [ 07-25-2002: Message edited by: Alexandre B A Villares ]

  11. Thanks a lot Raymond! Your code will help me incredibly.

    I had Cut & Paste in mind, but I find it rather disturbing that there is no other way.

    I mean, manualy it's a simple Obj. Info. Palette thing and VS-wise Layers are sort of the 'ultimate containers' ... I guess it's some minimalist prejudice I've got.

    Thanks anyway!

    [ 07-23-2002: Message edited by: Alexandre B A Villares ]

  12. How can I create a 2D projecting LayerLink w/ VS?

    LayerRef(layername) seems to produce a LL with the "Project 2d objects" option off. Is there a way to switch it on?

    [ 07-20-2002: Message edited by: Alexandre B A Villares ]


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...