(API) (VBA) Get user nodes without mesh nodes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I am trying to select all nodes created by the users. For this I use the getUserNodes methods :
Dim colNoeuds As RobotNodeCollection
Set colNoeuds = robApp.Project.Structure.Nodes.GetUserNodes
However, all the nodes created by panel meshing process get included, which is not what I want !
These nodes are not considered as calculation nodes by Robot, as they are not selected when I use GetCalcNodes. And all these mesh nodes have their .IsCalc property to false. At least all this is coherent, but why are they not considered calculation nodes in the first place ? is this a bug ?
And most importantly, how can I select simply all user nodes excluding mesh nodes, without having to loop through all nodes to check if they belong to a panel or stuff like this (which is feasible, but I'd prefer to avoid adding unnecessary complexity and execution time) ?
Best regards