Johan Posted November 7, 2002 Share Posted November 7, 2002 Hello, 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. Johan Quote Link to comment
Alexandre Villares Posted November 8, 2002 Share Posted November 8, 2002 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 ] Quote Link to comment
Johan Posted November 10, 2002 Author Share Posted November 10, 2002 Thanks for your help. I works great. Johan Quote Link to comment
Recommended Posts
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.