Search the Community
Showing results for tags 'extended properties'.
Found 2 results
Akeane posted a topic in AutoLISP, Visual LISP & DCLSo basically what i've done is i've made a single dwg with all the blocks we use for drafting, which can then be taken to a tool pallete for ease. It was my intention to add some extended definition data that would have the scale of the original block from that dwg, then, when the block is inserted into a new drawing, i can run another lisp that looks for the extended data in the form of (-3 ("ES" ("1040 . 200))) shown here for a 200 scale block. Then a simple entmod of all the scale factors for these blocks based on a desired scale would correctly resize them. So far it works really well for blocks in the model space (the the defn data is appended with ) and then a simple click, and entering of a desired scale, allows all drawings with this appdata to be resized; this also works is the block is copied over, or copied to multiple drawings. But using the tablenext method to go through the blocks in drawing explorer, they wont get inserted with this extra data, which means inserting the block wont have the extended data included, and im guessing it wont work by inserting from a tool palette either. Any hot tips of how to overcome this?
Hi, I am very new to lisp and AutoCAD with no previous experience. I am working on a project which I’m finding pretty difficult. What I am trying to do is import attributes and properties associated with a sphere from a .csv file into the corresponding property set in AutoCAD. I found a solution online which will allow me to import the coordinates (x,y and z) and this works a treat. However, I am having difficulty trying to import attributes associated with the sphere into the extended data property sets. So say for example, I am trying to import the week number, a reference and a description in from the .csv file into AutoCAD, under properties and extended data. Would anyone have any guidance or direction they could give me? Anything at all would be greatly appreciated. Thank you in advance!