Saturday, November 21, 2009
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

AutoLISP AutoLISP or Visual LISP, learn both here!

Reply
 
Thread Tools Display Modes
Old 2004-06-15, 02:35 PM   #1
rajat126
Member
 
Join Date: 2003-12
Posts: 7
rajat126 is starting their journey
Default "AngleToReal" in ActiveX method

Hi,
How do I convert "AngleToReal" by using ActiveX method ?

-Rajat
rajat126 is offline   Reply With Quote
Old 2004-06-15, 03:01 PM   #2
stig.madsen
100 Club
 
Join Date: 2000-12
Posts: 126
stig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightlystig.madsen is glowing brightly
Default RE: "AngleToReal" in ActiveX method

Quote:
Originally Posted by rajat126
Hi,
How do I convert "AngleToReal" by using ActiveX method ?

-Rajat
The AngleToReal method is part of the Document's Utility object:

(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-16 at 12:14 AM.
stig.madsen is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > Programming > AutoLISP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ActiveX API - Layer Filter Manipulation ntaylor API Wish List 6 2004-09-09 12:58 AM


All times are GMT +1. The time now is 04:35 PM.