How to change a SturcturalConnectionHandlerType

How to change a SturcturalConnectionHandlerType

matthias.deisboeck
Contributor Contributor
369 Views
4 Replies
Message 1 of 5

How to change a SturcturalConnectionHandlerType

matthias.deisboeck
Contributor
Contributor

Hello,

 

is it possible to edit the parameters for a StructuralConnectionHandlerType?

 

A StructuralConnectionHandler has a counterpart in the Advance API the UserAutoConnectionObjet / IJoint.

It can be used inside a FabricationTransaction to change StructuralConnectionHandler.

Is there also a counterpart for the StructuralConnectionHandlerType too?

 

 

0 Likes
370 Views
4 Replies
Replies (4)
Message 2 of 5

jeremytammik
Autodesk
Autodesk

I asked the development team for you.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 3 of 5

matthias.deisboeck
Contributor
Contributor

Thank you for your help, otherwise i could not get any information about this topic.

0 Likes
Message 4 of 5

jeremytammik
Autodesk
Autodesk

Sorry to report their answer:

  

At this moment there is no counterpart for StructuralConnectionHandlerType inside Advance API and there is no method to edit parameters for StructuralConnectionHandlerType. We filed a request for this for future versions, REVIT-152546.
 
At least you know where you are with this now.
 
That said, you can try to access the standard generic Revit element parameters and see what you can do with them, just like you can for any element.
 


Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 5

matthias.deisboeck
Contributor
Contributor

This sounds good.

 

Suggested solution:

You could provide both classes (StructuralConnectionHandler and StructuralConnectionHandlerType) with the ability to pass an IDictionary <string, object> instance to get and set parameters.

 

Similarly to the Advance API where you can pass parameters to the IJoint-Instanz with the Load- and Save-method.

 

At the moment you can group connections, but the different types all look the same.

The change of a group must be made by the designer.

 

Workarround:

As a temporary solution, I will create the required types in a drawing and then copy the types.

Depending on the connection, this can be quite tedious but I have no better idea.

If someone has a better workarround for that problem would be great to hear.

 

Whit best regards, matthias.

0 Likes