- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm looking to make better use of these label styles and use Civil 3D object labels more frequently. One thing I run into though is I often need to alter the text content of label styles to enter information (e.g., from survey notes). As this happens, I might need to adjust the height of the text to fit different deliverables that go out the door.
My issue here being if I create multiple styles for these notes to have different heights, the change from one style to another erases the modified text content. If I want to edit the heights of the existing styles, I have to go style by style.
It would be nice to write a lisp routine that either bulk edit a common field across multiple styles based on a set of selected objects (e.g. Text Hight), or allows me to change object styles of an object (e.g. Note Label) while retaining the original text content.
I'm not familiar with LISP syntax (though I do have programming experience) and am curious how I retrieve the object properties of a civil 3d object, its style, then make edits to the field(s) of said style to achieve this outcome. Any help with the relevant methods for extracting this data would be much appreciated. My key assumptions here are that all the styles I select would have a common component (e.g., Text) and a common field to edit. These would be hardcoded into the routine and checked for errors.
I tried the 'dumpallproperties' command, but it seemed to only grab the AutoCAD properties, nothing associated with the Civil 3D styles under the settings tab.
Or help with a different workflow to better use the Note Label styles would also be good!
Thanks in advance!
Solved! Go to Solution.