Rebar shap created programmatically can not be opened in the family editor

Rebar shap created programmatically can not be opened in the family editor

CJModis
Advocate Advocate
461 Views
1 Reply
Message 1 of 2

Rebar shap created programmatically can not be opened in the family editor

CJModis
Advocate
Advocate

I create the rebar shape programmatically, using the method Rebar.CreateFromCurves().
After that, i can not open the form in the family editor

rebarshape.png
Why is that? Can this somehow be changed?

0 Likes
Accepted solutions (1)
462 Views
1 Reply
Reply (1)
Message 2 of 2

aignatovich
Advisor
Advisor
Accepted solution

Hi, Alex!

 

Tried to answer your question at adn-cis.org forum.

 

Found strange thing. If you have any rebar shapes families in the document (I create a standard straight linear rebar programmatically and have a circle stirrup rebar shape in the document) it works as expected and you can edit rebar in a family editor. If there are no rebar shapes families, you can't edit a rebar, that you created programmatically.

0 Likes