Quantcast
Channel: Mentor Graphics Communities: Message List
Viewing all articles
Browse latest Browse all 4541

Re: Modeless Command Angle, current status

$
0
0

Chuck,

Here is code actually using the dialog box as you suggested...

 

If OptionsDlg.DesignDlg.LineTraceAngle = 2 Then

OptionsDlg.DesignDlg.LineTraceAngle = 0

OptionsDlg.Apply.Click()

Else

OptionsDlg.DesignDlg.LineTraceAngle = 2

OptionsDlg.Apply.Click()

End If

 

...two less lines of code.

 

Thanks again!


Viewing all articles
Browse latest Browse all 4541


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>