Search the Community
Showing results for tags 'named object'.
Alexandru posted a topic in AutoCAD Beginners' AreaI use Dynamic Block and insert attribute field for value - placeholder - name. here is a print screen - http://joxi.ru/l2ZYpRXU88VExm If i attache the file from a reference in another file, this bloc shows the block name and file name in attribute value. view here - http://joxi.ru/zANBvYdfllwBkA How can i remove name file "Semnalizare" from this attribute value? Thanks.
Russelltimk posted a topic in AutoLISP, Visual LISP & DCLHEADACHE! I am trying to write a LISP that does the following: -Open drawing -Saveas as NEW drawing based on certain criteria from DCL menu -Deletes old drawing -*THEN, if drawing contain attached IMAGE FILE (.tiff in my case)... Rename image file and repath image file based on the new file name I have gotten it to do all of this, except I can not figure out how to change the "reference name" of the attached image file (.tiff) Is this read-only data? I can manualy change it under xref manager, so there should be a way to do it via code... The closest I have gotten: ;;after renaming and repath image file... (SETQ NAME2 (substr (getvar "dwgname") 1 (- (strlen (getvar "dwgname")) 4))) (setq item (vlax-ename->vla-object (entlast)));convert to vl object (setq check (vlax-property-available-p item "Name" T));check if the entity can be updated ;if it can (if check ;change value to match (vlax-put-property item 'Name NAME2)) 'Name seems to be valid w/ xref'd blocks but not xref'd/attached image files.. Any help is greatly apprecated! Thanks
Hi all, is it possible to: 1- Get properties of a table group (such as a layer, textstyle, dimstyle, ...) 2- Save the information inside drawing (via Dictadd, etc.) 3- Purge the processed table group. So it will be possible to restore the information when needed. If possible, any suggestion is greatly appreciated.