Jump to content

Inserting vertex's into a custom 2D Path Object

Recommended Posts

Sorry to trouble you, just hitting a wall.  I created a 2D Path Object (called 'Skirting') that creates a drape line along its defined 2D path.  Now I'm trying to create a command that converts any selected polygon, rectangle, or line, into the 'Skirting' PIO, by taking the vertices of those objects and inserting them into the 'Skirting' PIO.  The only problem is I can't figure out is how to insert those vertices that I have stored in a vector array into the PIO after calling it with  TF:=CallToolByName('Skirting');


Any thoughts?


Edited by DCarpenter

Share this post

Link to post

Thanks I guess I'll try it, but I thought that command worked along side CreateCustomObjectProfile, which would be more of a extrude along a path sort of thing, which is why I thought I was barking up the wrong tree.  I'll give it a shot.  Thank you.


Share this post

Link to post

You should be able to just pass nil to the profile.


You can also insert with CreateCustomObject() and then set the path group. In that case, you have to deal with the path coordinates being relative to the object's insertion point. i.e. move the path to the origin, then set to the profile group.

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


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