Jump to content
Developer Wiki and Function Reference Links Read more... ×
Carles Olle

General attributes in the document

Recommended Posts

I'm not sure which is the best way to do this so I will ask.


I have a relatively complex dialog that requires entering a number of settings.

The dialog and its settings are not attached to a specific object but rather allow to create a number of objects.

Most of the time parameters are the same but the user has to enter them again every time the dialog opens.


Is there a way to attach to the document a set of attributes that ban be used so save and reload the settings for the dialog controls?





Share this post

Link to post

Hello gorrunyo,


you can use SetSavedSetting to store the values in a xml that lies in  the userfolder.

If the values need to  be stored in the doc you could use a record definition where you set the default values.



Edited by Patrick Winkler

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


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.