Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i - VBA ] Text without textstyle shows active text style property

$
0
0
Hi Remy,

dimension styles behave a litte bit different than text styles, also recorded VBA code could be used to activate dimension style "None".
Please try these lines of code:

CadInputQueue.SendCommand "MDL KEYIN DIMSTYLE DIALOG DIMSTYLE OPEN"
CadInputQueue.SendCommand "DIMSTYLE DESELECT ALL"
CadInputQueue.SendCommand "DIMSTYLE SELECT ""Style:(none)"""
CadInputQueue.SendCommand "DIMSTYLE ACTIVE"
CommandState.StartDefaultCommand

I hope this works for you?

Best regards,
Artur

 


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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