AllExperts > AutoCAD 
Search      
AutoCAD
Volunteer
Answers to thousands of questions
 Home · More AutoCAD Questions · Answer Library  · Encyclopedia ·
More AutoCAD Answers
Question Library

Ask a question about AutoCAD
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Scott Cook
Expertise
I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!

Experience
Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com. PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.
 
   

You are here:  Experts > Computing/Technology > Computer-Aided Design > AutoCAD > OBJECT PROPERTIES

AutoCAD - OBJECT PROPERTIES


Expert: Scott Cook - 11/2/2007

Question
I have the idea for a macro, but am unable to progress. I can not find where proporties for individual objects can be read other than the properties dialog box. I would like to pull the custom scale of a viewport and relate it to my dimension style. I can change the dimensions through setvar, but without a -properties command I don't know how to reference it

Answer
you need to use the entget function to get the data that is stored in the viewport entity itself.
once you have that data, you can look up the codes in the dxf reference under the viewport entity type to find the relevant ones.
so in the visual lisp help, look at the entget function and the dxf code reference. that should get you pointed in the right direction.

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.