View Full Version : 2004 Autocad 2004 - Insert a "Custom Property" in the drawing ?
Dubweisertm
2013-09-12, 03:08 PM
Hi !
In the past, I used Autocad Arch 2011 and I do what I want easily...
But for the now, with Autocad 2004, I can't add a Custom Property (dwgprops)...
Is someone can help me ? Thanks in advance !
Dubweisertm
2013-09-16, 07:44 PM
Hi !
Maybe my question is not really clear...
I created in the "DWGPROPS" a Custom Property named APPT...
Is there a way to display her value in a TEXT or MTEXT wherever in the drawing ?
Thanks in advance !
Tom Beauford
2013-09-16, 07:53 PM
No, that would require a "field" which didn't exist back then as far as I can remember.
Dubweisertm
2013-09-18, 01:36 PM
Is there another way, maybe with LISP ???
Thanks in advance !
cadtag
2013-09-18, 01:43 PM
It's probably possible with LISP - not having access to 2004 I can't walk you through it, and the method of storing and accessing dwgprops data has changed over the years. But LISP would not be 'live', it would just create a static text element that showed a constant value -- at that point you might as well just put it in as text.
Maybe look into RTEXT?
Dubweisertm
2013-09-18, 02:11 PM
It's probably possible with LISP - not having access to 2004 I can't walk you through it, and the method of storing and accessing dwgprops data has changed over the years. But LISP would not be 'live', it would just create a static text element that showed a constant value -- at that point you might as well just put it in as text.
Hi, if I really understand, as soon as my custom property (APPT) will change, the text will still the same ?
cadtag
2013-09-18, 02:43 PM
yeah, that's about the size of it. LISP can read the value, and write the Text, but it's not a substitute for a FIELD object. Once the Text is created, either by LISP or manually, it's just plain old text and won't change until it's edited.
If the DWGPROPS values in 2004 can be read with DIESEL, the ExpressTool RTEXT would be a possibility, although I think that would only update on a drawing open action. I'm not sure about that, since I've no need to use RTEXT.
Bascially, if you are going to change the custom property and want it reflected in the drawing, you need to upgrade - and since the only upgrade option is 2014, that's a full cost expenditure.
If your organization is unwilling to spend that, then perhaps they should look into BricsCAD from Bricsys,or Ares Commander from Graebert systems. More functionality than 2004, and a lot cheaper than a new Acad seat. (You can try out a free (and somewhat limited) version of Ares by downloading the Draftsight application. That version does not do LISP, but for basic drafting it works well.
Dubweisertm
2013-09-18, 04:09 PM
Finally, RTEXT do what I want, with a Diesel Expression like: $(getprop, %APPT)
Thanks for this suggestion !
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.