Robot Structural Analysis Forum
Welcome to Autodeskā€™s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 

(API) Nodes.FreeNumber() after Nodes.DeleteMany() or Nodes.Delete()

3 REPLIES 3
Reply
Message 1 of 4
Romanich
1049 Views, 3 Replies

(API) Nodes.FreeNumber() after Nodes.DeleteMany() or Nodes.Delete()

 

I have a question regarding numbering of nodes after deleting some of them using API.

 

For example, RobApp.Project.Structure.Nodes.FreeNumber() will give us number 5. We will create this node with number 5 and then we will delete it using RobApp.Project.Structure.Node.DeleteMany() or RobApp.Project.Structure.Nodes.Delete(). We will run RobApp.Project.Structure.Nodes.FreeNumber() again and we will receive free number 6 instead of 5

 

After Delete command from Robot GUI, the FreeNumber() method works as expected.

A short video to demonstrate the issue:

https://www.screencast.com/t/A1tbRQuWaj

 

I think that I missed something, like initialization of model after deleting of nodes, but I did not find appropriate method. 

 

I hope that @Rafal.Gaweda will help me with this small but annoying issue šŸ˜‰

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


Tags (2)
3 REPLIES 3
Message 2 of 4
Rafal.Gaweda
in reply to: Romanich

Hi @Romanich

 

I am afraid it is like that by API.



Rafal Gaweda
Message 3 of 4
Romanich
in reply to: Rafal.Gaweda

Thank you, Rafal. May I hope that this issue will be fixed in the next SP or in the new Robot release?

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


Message 4 of 4
JacquesGaudin
in reply to: Romanich

Is there any intention to fix this bug? It's almost 2 years since the original post.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report