Search the Community
Showing results for tags 'insbase'.
Found 2 results
whatwillhedo posted a topic in AutoCAD Bugs, Error Messages & QuirksI am (repetitively) cutting with ctrl+x lines from one objects ucs to another. Since looking at GeomCurve (I think?) I can no longer paste with the objects base point (UCS 0,0,0) . This appears to have stuck with the WCS (when a line is cut using the UCS and origin on the line). On investigation Insbase also resets with each new UCS to an x,y,z related to the WCS. A similar thing has happened in the past when turning off the ucs icon but has been sorted by fiddling with ucsicon . Its not stopping me work but thanks in advance, Mike
ColinHolloway posted a topic in AutoLISP, Visual LISP & DCLHi All Sorry this is a re-post. I couldn't work out how to move a post to the correct area. I need to read the Insbase value of an unopened drawing using ObjectDBX. I have already written code that can extract attributes and re-path xref's so the method of opening the drawing database is known. What I need to know is the property name of the Base or Insbase in Modelspace of a drawing. I have opened the drawing database as variable dbxdoc and using (vlax-dump-object (vla-get-ModelSpace dbxdoc)) I get: ; IAcadModelSpace: A special Block object containing all model space entities ; Property values: ; Application (RO) = Exception occurred ; BlockScaling = 0 ; Comments = "" ; Count (RO) = 96 ; Document (RO) = # ; Explodable = -1 ; Handle (RO) = "2" ; HasExtensionDictionary (RO) = -1 ; IsDynamicBlock (RO) = 0 ; IsLayout (RO) = -1 ; IsXRef (RO) = 0 ; Layout (RO) = # ; Name = "*MODEL_SPACE" ; ObjectID (RO) = 55 ; ObjectID32 (RO) = 55 ; ObjectName (RO) = "AcDbBlockTableRecord" ; Origin = (0.0 0.0 0.0) ; OwnerID (RO) = 56 ; OwnerID32 (RO) = 56 ; Path = AutoCAD.Application: Not applicable ; Units = 0 ; XRefDatabase (RO) = AutoCAD.Application: No database The property Origin is NOT the base for this drawing as the insbase is: Command: insbase Enter new value for INSBASE : The value for insbase must be accessable in the database somewhere but it is eluding me at this time. Thanks in advance for any responses, Colin