
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am trying add (vl-filename-base (getvar "dwgname"))) in below list, please help on this.
(defun c:dProps (/ dProps dProp)
(vl-load-com)
(setq acadObject (vlax-get-acad-object))
(setq acadDocument (vla-get-ActiveDocument acadObject))
;;Get the SummaryInfo
(setq dProps (vlax-get-Property acadDocument 'SummaryInfo))
;;Add an entry to the "Custom" tab
(vla-addcustominfo dProps "CONSULTANT" "DEWAN ARCHITECTS & ENGINEERS")
(vla-addcustominfo dProps "DRAWING NUMBER" "(vl-filename-base (getvar "dwgname")))")
(vla-addcustominfo dProps "DATE" "24/01/2016")
(vla-addcustominfo dProps "REVISION NUMBER" "0")
(vla-addcustominfo dProps "SITE LOCATION" "ABU DHABI REEM ISLAND SECTOR RR1 PLOT C5")
(command "-layout" "rename" "" (vl-filename-base (getvar "dwgname")))
(princ)
)
Solved! Go to Solution.