Hi,
How do I convert "AngleToReal" by using ActiveX method ?
-Rajat
|
Hi,
How do I convert "AngleToReal" by using ActiveX method ?
-Rajat
The AngleToReal method is part of the Document's Utility object:Originally Posted by rajat126
(vl-load-com)
(setq doc (vla-get-activeDocument (vlax-get-acad-object)))
(setq utils (vla-get-utility doc))
(vla-angleToReal utils "180.0" acDegrees)
will then return 3.14159 as a real
Last edited by stig.madsen; 2004-06-15 at 10:14 PM.