Jump to content
Sign in to follow this  
VvierA

2d path object - Number of parameters limited?

Recommended Posts

Hello,

I try to make a custom 2d path object with Vectorscript.

The object has a lot of parameters but the object info palette shows only 7 of them.

Is there a limitation of parameters for the object info palette?

How can I get over the limitation?

or

Is there another 'simple' way to allow the user to enter parameters for a path object other than the object info palette?

(I do not feel capable to program a custom dialog so it would be great to enter the values via the object info palette.)

Thanks for help

VvierA

Share this post


Link to post

The number of fields for an object is virtually unlimited.

Is the object event enabled? Are you adding any custom Widgets during the Init event?

Are you modifying the visibility of the controls in the code?

You may also need to restart VW if you add parameters especially with an event enabled object.

Share this post


Link to post

@Kevin

Thank you very much. Restarting helped although my object is not event enabled afaik.

Another strange thing: If I double click the 2d path VW enters the 'edit extrude along path profile' mode.

What can I do to start the 'standard 2d reshape mode' for polygons on double click?

VvierA

Share this post


Link to post

@Kevin

Great - the code works very well (although I do not understand the meaning yet).

Maybe you can help with another (related) question...:

Together with my 2d path I place a symbol.

Is there a way to evoke an edit mode so that I can move that symbol 'within' my 2d path object. I.e. move it without ungrouping = destroying the 2d path object?

VvierA

Share this post


Link to post

If you are just using the symbol and simply need to move it use a control point.

One of the parameters available is a control point type. This will give the user a grip to move and you can access the x/y values and place the symbol at that location.

If the symbol only resides in the path then the user would have to manually enter the path group to move the symbol. Right click on the path object should give you the option to edit path or profile, the option should be available in the edit menu also.

As for the more extended properties check on the Vector Script mailing list there was a list of the constants posted there recently.

Share this post


Link to post

I succeeded to register and login to the mailing server but it says 'There are no public lists on this server.' if I try to list 'All Lists'.

Share this post


Link to post

You have to be a list member to search the list, all the lists are considered "Private"

Once you subscribe to a list you can set the "No Mail" option if you don't want to receive emails form the list.

In the Online Mailing List Archives or Archive Search pick just the VECTORSCRIPT-L list.

Once you are logged in it should only show you the lists you are subscribed.

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.

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

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.

×
×
  • Create New...