Active DSC algorithm by API

Active DSC algorithm by API

tuonguyen39HYC
Participant Participant
607 Views
2 Replies
Message 1 of 3

Active DSC algorithm by API

tuonguyen39HYC
Participant
Participant

Hi,

Is there any way to active DSC algorithm in Job Preferences box of Robot model by using API. I have some codes but it seem be wrong. Please help me debug. Thanks in advance


IRobotStructureAnalysisParams DSC = new RobotStructureAnalysisParams(); 
DSC.DSCAlgorithm = true ;

0 Likes
Accepted solutions (1)
608 Views
2 Replies
Replies (2)
Message 2 of 3

Stephane.kapetanovic
Mentor
Mentor
Accepted solution

hi @tuonguyen39HYC 

Dim AnalysisParams As RobotStructureAnalysisParams = RobApp.Project.CalcEngine.AnalysisParams
With AnalysisParams
    .DSCAlgorithm = True
    '[...]
End With

Best Regards 

Stéphane Kapetanovic

Did you find this post helpful? If it gave you one or more solutions,
don't forget to click the Accept Solution button and leave a < like !
EESignature
Message 3 of 3

tuonguyen39HYC
Participant
Participant

Thanks @Stephane.kapetanovic , I find that it works fine !