Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a lisp that I'm writing that takes a length parameter from a dynamic block and divides it by the unit factor (for dwg with different units)
when I do this manually in AutoCAD the field looks like this
%<\AcExpr (%<\_FldPtr 1947961495696>% / %<\_FldPtr 1947961496080>%) \f "%lu2%zs12">%
but each FldPtr looks like this
%<\AcObjProp.16.2 Object(%<\_ObjId 1948028287920>%).Parameter(1).UpdatedDistance \f "%lu6%zs12">%
and
%<\AcObjProp.16.2 Object(%<\_ObjId 1948028287920>%).InsUnitsFactor \f "%lu6%zs12">%
I can get those two fields with Lee-Mac's getobject Id and pramters, ect. but I don't know how to build the FldPtr expressions.
is this possible with LISP?
Solved! Go to Solution.