Jump to content
Sign in to follow this  

Can anybody help with a simple 2D Path Object

Recommended Posts


I am a beginner and to start with vectorscript I'd like to make a simple 2D path object. It should work like the standard Vectorworks polygon tool but the polygon should close automatically after creation.

I succeeded to generate a new 'empty' 2d path object with no code yet and to integrate this new tool in my workspace.

Although there is no code yet, I can draw a 2D polygon shape.

The problem is: the shape is invisible. It shows no lines and no filling.

I can select it by 'select all' and it is shown in the info palette but it is not possible to change the appearance to make it visible.


What code do I have to add to make the path visible respectively to make this 'generic' 2d path behave like the original 2d polygon tool?

Kind regards


Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


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.