Jump to content
Developer Wiki and Function Reference Links ×

PLUG-INS


Johan

Recommended Posts

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

Link to comment

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 ]

Link to comment

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.

×
×
  • Create New...