(API) macro for creating panel profiles from bars

(API) macro for creating panel profiles from bars

Rafal.Gaweda
Autodesk Support Autodesk Support
4,696 Views
4 Replies
Message 1 of 5

(API) macro for creating panel profiles from bars

Rafal.Gaweda
Autodesk Support
Autodesk Support

It should work for most of steel database sections,and most of  parametric and tapered steel sections

 

Assuptions:

- panels are created in mid  "walls" planes

- thicknesses should be corectly recognized and applied

- tapered thickness (of defined for tapered member) is not considered

 

Example:

 



Rafal Gaweda
4,697 Views
4 Replies
Replies (4)
Message 2 of 5

Rafacascudo
Mentor
Mentor

Very nice Rafal!!

 

it works even for tapered pipes!!

panels from tapered pipes.jpg

 

Is there a way to control the number of segments that form the circle?

Rafael Medeiros
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 5

Rafal.Gaweda
Autodesk Support
Autodesk Support

Did my best 🙂

 

Circle segments : edit macro and find

 

Ndiv parameter for quarter of the circle

 

If (R <= 0.2) Then
    NDiv = 3
Else
    If (R > 0.2 And R <= 0.4) Then
        NDiv = 4
    Else
        NDiv = 5
    End If
End If

 

 



Rafal Gaweda
Message 4 of 5

t.sautierr
Advisor
Advisor

brilliant !

Message 5 of 5

umut.akparlar
Collaborator
Collaborator

Hi @Rafal.Gaweda 

 

Is it possible to implement this feature to RSA, could you kindly share this feedback with development team? 

 

Thanks