An old, old joke:
Patient: Doctor, I hurts when I do "this."
Doctor: Then don't do "that!"
ba-dum-DUM
An old joke:
"Doctor, my leg hurts. What can I do?” The doctor says, “Limp!”
(Henny Youngman")
Not having a screenshot, or sample drawing makes it difficult to fully understand want you want this to look like,
There has been some good discussion here. I enjoy that and feel that it is beneficial for the community.
I will share some thoughts and possible tips. Be forewarned that I will then join the chorus and tell you why I think that it best that you "Don't do that."
@Anonymous wrote: I'm looking to create a block attribute that will exactly mimic the behaviour of a spot elevation label.
It depends on your definition of 'mimic.'
- Civil 3D Point objects, as pointed out by others, have very similar behaviors.
- You will have to re-create any Spot Elevation styles that you need at Point styles. This is time consuming if you need a lot of styles.)
- 'Smart'
- Annotative Mleaders are a possibility, but have some shortcomings.
- Does not include a marker. Requires a second object.
- Can not orient to 'view.'
- 'Dumb'
- Dynamic Block
- Attribute of Elevation Test
- Markers could be emulated with visibility states.
- Polar stretch for dragged state
- Rotation required for Elevation Txt
- No automatic 'view' alignment
- I have created a lot of complicated dynamic blocks, but would not touch this one with a 10 foot pole.
- 'Dumb'
It may be possible to come up with a annotative block/attribute or do what you want , but I do not think it possible to fully mimic the Spot Elevation behavior. I do not see any relatively simple solution. Nor do I see any complicated complete solution.
Your current approach is unconventional, but clever. It appears that the process is tedious and causes performance issues.
- Process simplification.
- A file, 'Manual Spot Elevation Source.dwg' is attached.
Also attached: 'Manual Spot Elevation test.dwg' shows it in use. - Insert this file and explode if necessary. Copy and Paste (NOT Ctrl+C and Ctrl+V) where ever they are needed. This does not need to be within the suggested small surface. Edit the label text.
- Label text editing can be streamlined. See posts 2 (Shortcut) and 10 (Double Click)
- Performance. It seems that C3D is limping along, rather then running briskly. Liniment and physical therapy may be preferable to amputation.
- Work on spot elevations in separate drawing, with the other drawings xreffed in.
- Divide and conquer. Clip xrefs and work one area at a time. You may need multiple spot elevation files.
- The small surface suggested in 1a above, might help.
---------------------------------
Now, on to "Don't do that."
You will be putting a lot of work in on these sort of projects. I hate to see C3D needlessly dumbed down when it is is not necessary. This is not so much wrong, as it is a missed opportunity. My thought follow. There will certainly be differing opinions.
- Smart is better than Dumb
- Civil3D objects are smart.
- C3D Spot elevation become dumb when you override the elevation value.
- C3D Points are smart. The xyz information that you assign is available for C3D to use.
- Attributes and Mleader are not as smart as C3D objects. You may be able make use of the elevation text, but is not a trivial process.
- Minimizing effort is good. (Least to most effort - my opinion - YMMMV)
- Creation of manual C3D points, with elevation.
- Block with attribute. (Does not mimic Spot Elevation)
- Creation of C3D spot elevations, with manual edit.
- Marker block and Mleader. (Does not fully mimic Spot Elevation)
- Design change/Editability.
- C3D point can be moved in the z direction and will reflect the correct elevation.
- C3D Spot Elevations, Attributes, and Mleaders must be manually edited individually.
- Versatility.
- Project requirement may change.
C3D Points can be used to create a surface.
(A building perimeter feature line, at grade, and your points are enough to create a basic surface. Look at it in object viewer to validate your design.) - C3D Points could be used for layout/staking.
- C3D Spot Elevations, Attributes, and Mleaders look pretty.
My suggestion:
- Invest some time in creating some Point label styles that mimic your Spot Elevation styles, and just use C3D points.
- Invest some time in creating some Feature Line label styles for vertex labels that mimic your Spot Elevation styles, This adds feature lines to your toolset.
(Feature lines can have arcs and intermediate elevation points set to straight grade, etc.)
---------------------------
Closing
- There is a time and place for Spot Elevation text overrides.
- I do not claim credit for all of the ideas in this post. I accept blame for any errors.
Christopher Stevens
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.