Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

fatal.error
en respuesta a: Anonymous

IDK your needs, but how about batch editing custom properties with some lisp:

 

 

;;; Create or edit DWGPROPS Custom Properties 

(defun c:CUPRO ( / )

    (setq  si (vla-Get-SummaryInfo (vla-Get-ActiveDocument (vlax-Get-Acad-Object))))
    
    ;;; Change existing custom property value
    (vla-SetCustomByKey si "DwgProperty1" "New Value 1")
    
    ;;; Create new custom property and set a value
    (vla-AddCustomInfo si "DwgProperty2" "New value 2")
    
    (princ pval)

);defun