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
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
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
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
Is there any intention to fix this bug? It's almost 2 years since the original post.
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.