(API) Highlight nodes in Robot

(API) Highlight nodes in Robot

Anonymous
Not applicable
638 Views
1 Reply
Message 1 of 2

(API) Highlight nodes in Robot

Anonymous
Not applicable

I have a list of integers equal to node numbers. I need to highlight only those within Robot using an API

 

Tried using Selections method in C# but unable to highlight those nodes in Robot. Kindly help

 

Many thanks

 

@Rafal.Gaweda

0 Likes
639 Views
1 Reply
Reply (1)
Message 2 of 2

Rafal.Gaweda
Autodesk Support
Autodesk Support

Hi @Anonymous 

 

You have to update \ make Get selection from these numbers.

See example:

https://forums.autodesk.com/t5/robot-structural-analysis-forum/api-macro-for-highlighting-nodes-with-instabilities/m-p/3924663#M13667

 

or

 

Dim RView As IRobotView3 

Set RView = Robapp.Project.ViewMngr.GetView(1)
RView.Selection.Get(I_OT_NODE).FromText ("7to12")    

RView.Redraw (0)
Robapp.Project.ViewMngr.Refresh

 



Rafal Gaweda
0 Likes