Can you please tell me where i can find an example of settilng gamma for a bar created using the API? Lets say i want to have the bar rotated 30 degrees how would i go about that?
Dim Bar as RobotBar
Bar.Gamma = 90
I tried to change the gamma value as you said, but i didn't manage to...
Is it possible to get a more complete part of code please?
RobotBar bar = r.Project.Structure.Bars.Get(1) as RobotBar;
bar.Gamma = 30;
RobotBarSection sec = bar.GetLabel(IRobotLabelType.I_LT_BAR_SECTION) as RobotBarSection;
RobotBarSectionData sd = sec.Data;
If you find your post answered press the Accept as Solution button please. This will help other users to find solutions much faster. Thank you.