Search code examples
lispautolisp

How can I get a VLAX-OBJECT from an ads_name type


I am using entget function in order to get all the properties of a certain object. So I have the table of dotted pairs that describe the properties of the object but now I want to use the VLAX-OBJECT functions, such as VLAX-COPY or VLAX-MOVE. So I need to convert it from the ads_name type to VLAX-OBJECT type but I can not handle to do it. Can you suggest any Idea to do it please?.


Solution

  • You can use the vlax-ename->vla-object function to get the VLAX object from the entity name