For whatever reason (this was already badly implemented in Civil3d as one wasn’t able to retrieve the vertical exaggeration of a profile view via expressions) and while seemingly everything else is covered, this value doesn’t show up in the ObjectExtensions.GetParameters-Node:
HasSaveVersionOverride PlotStyleNameId IsEditable Classifications Layer ElevationMin AutomaticallyBoundSpaces IsReferenceStale Transparency ProfileType IsObjectIdsInFlux Closed Visible Plinegen NeedsPromoting IsUsed Material PlotStyleName ShowToolTip Color IsReallyClosing LinetypeScale PaperOrientation ForceAnnoAllVisible Length ColorIndex Overrides UseDesignCheckSet IsReferenceObject IsCancelling IsNewObject ReceiveShadows IsEraseStatusToggled IsModifiedXData HasFields IsUndoing SwappingReferences IsNotifying IsReferenceSubObject AcadObject EndingStation IsNotifyEnabled IsModified UpdateMode UseDesignCriteriaFile IsReadEnabled IsErased Database CastShadows IsWriteEnabled DesignSpeedBased IsDisposed PVIs ElevationMax UndoFiler Hyperlinks BlockName Entities DrawableType IsModifiedGraphics ProjectState Linetype Handle EntityColor IsHighlighting Offset Annotative StartingStation LineWeight IsAProxy ClassID IsTransactionResident AutoDelete IsReferenceValid MaterialMapper
Let’s say I want to insert some blocks in my profile view and set their Y-Scale to the vertical exaggeration of my profile view. How would I do this?
To clarify with an example: let’s take a fictional profile view with a vertical extent of 15m, a vertical exaggeration of 10 and one design profile:
I can get the absolute height of my profile view with a bounding box so it’ll be 150m in this example. Unfortunately, I’m not sure how this information came to be - it could just as well be a profile view with a vertical extent of 150m and a vertical exaggeration of 1.
I can also retrieve the ElevationMin and ElevationMax of my profile view. However, if my profile view is set to automatic in the Elevation Range Tab it won’t retrieve the real (visible) min- and max elevations but the ones from my design profile. In this example it could be something like ElevationMin = 1.367 and ElevationMax = 5.393. So I’m not sure how I could work with those values.
Any help is much appreciated!
I want to get the vertical exaggeration of a Civil3d-ProfileView as a numeric value.