(API) addin for merging bars

(API) addin for merging bars

Rafal.Gaweda
Autodesk Support Autodesk Support
22,826 Views
31 Replies
Message 1 of 32

(API) addin for merging bars

Rafal.Gaweda
Autodesk Support
Autodesk Support

addin for merging two bars  into one



Rafal Gaweda
Accepted solutions (2)
22,827 Views
31 Replies
Replies (31)
Message 21 of 32

Romanich
Mentor
Mentor

Hi @Rafal.Gaweda,

Could you please add a checkbox with on / off  Robot.Interactive parameter to the merge multiple bar add-in?

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


0 Likes
Message 22 of 32

Rafal.Gaweda
Autodesk Support
Autodesk Support

Hi @Romanich

 

Attached.



Rafal Gaweda
Message 23 of 32

Romanich
Mentor
Mentor

Hi @Rafal.Gaweda,

It seems that you have attached an old exe file, without added option. Thanks in advance.

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


0 Likes
Message 24 of 32

Rafal.Gaweda
Autodesk Support
Autodesk Support
Accepted solution

HI @Romanich

 

Sorry.

Attached new one.



Rafal Gaweda
Message 25 of 32

gscSVFKN
Community Visitor
Community Visitor

Does it work in Robot 2020?

0 Likes
Message 26 of 32

Romanich
Mentor
Mentor

Yes, it works

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


0 Likes
Message 27 of 32

Anonymous
Not applicable

Can you please share me the code to merge bars

 

0 Likes
Message 28 of 32

Anonymous
Not applicable

Hi @Rafal.Gaweda ,

 

I need apply "merge bars" by VBA in my code, but this addin is in C#, I can not study well the commands for merge.

On what commands is the addin based to merge bars?

 

Thanks a lot.

0 Likes
Message 29 of 32

Rafal.Gaweda
Autodesk Support
Autodesk Support

Hi @Anonymous 

 

Truly saying it is just replacing one bar node by another node number and deleting bars.

Of course this is not all. More tricky things about applying properties, merging loads etc.

 



Rafal Gaweda
0 Likes
Message 30 of 32

Anonymous
Not applicable

Hi @Rafal.Gaweda 

Thanks for your feedback.

In my case, this is the initial structure:

psanchez_0-1603203159958.png

 

The node 149 is the endnode for bar 34 and the start node for 33 bar. The node 266 is load node in bar 34.

My purpose is change the commun node 149 to the node 266, that is to say the node 266 must be the end node for bar 34 and the start node for bar 33.

I understand the process is something like this:

  1. Divide the bar 34 by node 266
  2. Merge the new resultan bar with bar 33, for this:
    1. delete both bars
    2. create new bar between nodes 266 and end node of bar 33.
    3. copy loads in new bar created, in my case there is not load in that new bar.

Is that so?

Could you help me with a draft code, please?

 

Thanks a lot!!

 

0 Likes
Message 31 of 32

Rafal.Gaweda
Autodesk Support
Autodesk Support

Hi @Anonymous 

 

I am not sure if I understood You. See my video below.

((API) addin for changing one bar node onto different one )

 



Rafal Gaweda
0 Likes
Message 32 of 32

Anonymous
Not applicable

Sorry I can not see the video,

 

psanchez_0-1603206541410.png

 

0 Likes