Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  


Recommended Posts


Actually, i'm writting a plug-in for a concrete girder to be inserted in walls( walls with or without cavitys).

The plug-in works well but i would like to initialize the parameters for the wall-assembly of the plug-in before the girder is created by selecting the wall before calling the plug-in.

Gathering the wall-definition is no problem.

Someone told me i have to split up the script in :

- gathering the wallparameters( of the selected wall),

- initializing the parametes of the girder plug-in( -> the parameters of the wall : determines the girder width and his position in the wall)

- calling the plug-in.

My problem is the initializing of the parameters and calling the plug-in from within the script(and with a normal behaviour).

Thanks a lot for any response.


Share this post

Link to post

I guess you could make a script that reads the selected wall info and sets the parameter defaults of your Plug-in Object using this:

SetRField(GetObject('plug-in-object-name'), 'plug-in-object-name', 'parameter-name', 'value-as-string');

But note that a VS tool that has it's own parameters is unable to place a plug-in object.

[ 11-07-2002, 09:15 PM: Message edited by: Alexandre B A Villares ]

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.