AboutScott 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.
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.