Search the Community
Showing results for tags 'custom properties'.
-
Hi, I'm new to AutoCAD. I have 700 drawings in AutoCAD. I have to enter "Checker" value in the drawing title block. For all the drawings, its the same value. How to I automate this? I don't want to open manually individual drawing and fill the value. Any macro available for this? Please help. Regards, Prasanna.A
- 4 replies
-
- title block templates
- macro
-
(and 2 more)
Tagged with:
-
Hey guys, I use the custom tab in the DWG properties in all of my drawings to auto-fill fields on title blocks and some other things. There are about 17 custom values that are entered every time and I cannot figure out if there is a good way to quickly edit these without meticulously clicking on each one individually with the mouse. Pressing [TAB] just cycles through the "Add", "Delete", "OK", etc buttons. The arrow keys let you move the blue selection up and down, but I can't see any way to actually edit what is selected. Typing just selects the Named value that matches your input. Not a big deal if it is impossible but it would be nice to save a bit of time here going back and forth between the mouse and keyboard. Thanks,
- 3 replies
-
- selected value
- drawing properties
-
(and 2 more)
Tagged with:
-
Dynamic blocks - Attributes to custom properties and viceversa
Gotrekk posted a topic in AutoLISP, Visual LISP & DCL
Hi there, I have many different blocks with different attributes and custom properties (rotation angle, position 1 X, position 1 Y, and so on). All of them have a perfect correspondence between attributes names and custom properties names. For example, if i have a block with custom properties "rotation_head" and "position_head" i will have two attributes called "rotation_head" and "position_head". I'd need a lisp with two functions cycling through all the selected different blocks; one of the function would: - for each selected block, read the attributes and set the custom properties while the other would: - for each selected block, read the custom properties and set the attributes. Do you think something like this would be possible? The reason behind this kind of request is because i need to import and export shapefiles to autocad map and i need to set blocks custom properties using shapefiles table.a Thanks in advance for any ideas/tips Regards GTK- 12 replies
-
- dynamic blocks
- custom properties
-
(and 2 more)
Tagged with:
-
Hey guys, I'm working on a piece of code where I need the lisp to look up a custom property that's set and extract it. The problem I am having is that we updated our templates within the last two years so this piece of code doesn't work properly with some of the older drawings we have. I want it to assign the variable a value if it can't find it, but I don't know how to get around the automation error. Here's my attempt but I am at a loss as to what to do. (defun c:test (/ acadobject acaddocument dprops pp pp#) (setq acadObject (vlax-get-Acad-Object)) (setq acadDocument (vla-get-Activedocument acadObject)) (setq dProps (vlax-get-property acadDocument 'Summaryinfo)) (vla-getcustombyindex dprops 72 'PP 'PP#) (if (= PP# nil) (setq PP# "PLXX-X-XX-") );;end if );;end defun Here's the error I get. Error: Automation Error. Out of range FYI: The name of the custom property is Plot Plan Thanks in advance!
- 3 replies
-
- automation error
- autolisp
-
(and 1 more)
Tagged with:
-
how can i import data from xml file to autocad custom properties?
ChirilaDan posted a topic in AutoLISP, Visual LISP & DCL
I need some lisp or vba app so that i can fill in autocad custom properties values from an xml file. I am setting up a dwt file to use fields based on that custom properties. Thanks -
Hello! I'm trying to find an intelligent way to reorganize the custom properties in my sheet set. Some are poorly named, others I suspect aren't even used. As far as I can tell, you can't rename a custom property; you have to create a new one, transfer the definitions throughout the sheet set one by one, and then delete the original. Isn't there a better way? P.S. I'm referring specifically to the sheet set custom properties, found by right-clicking the sheet set in SSM and going to properties. They're closely related to fields.
- 2 replies
-
- fields
- custom properties
-
(and 1 more)
Tagged with: