(I'm stumbling from one obstacle to the next)
My basic target is to calculate intersection between "SAMPLE_Lines" and "CorridorFeatureLines". Many steps are done (alignments, profiles, surfaces, corridors, ..) but now I'm searching for "Corridorfeaturelines"
In the Swamp are some examples relating FeatureLines.
Here is a post called ..
"Selecting a Civil 3D Corridor Feature Line"
https://forums.autodesk.com/t5/autocad-civil-3d-customization/selecting-a-civil-3d-corridor-feature-line/td-p/6694642But this is a COM example, converting a corridor to a block and extracting the block.
Dumping a corridor-object seem to bring up no directions to follow ..
************* Anfang Dump Ausgabe *************
AECC_CORRIDOR
; IAeccCorridor: Schnittstelle 3D-Profilkörper
; Eigenschaftswerte:
; Application (RO) = #<VLA-OBJECT IAeccApplication 0000024d2dd05a80>
; Baselines (RO) = #<VLA-OBJECT IAeccBaselines 0000024d2dd07010>
; CodeSetStyleName = "CH Lageplan mit Füllung"
; CorridorSurfaces (RO) = #<VLA-OBJECT IAeccCorridorSurfaces 0000024d2dd066b0>
; Description = ""
; DisplayName (RO) = "3D Profilkörper Hauptachse"
; Document (RO) = #<VLA-OBJECT IAeccDocument 0000024d2dd07520>
; EntityTransparency = "VonLayer"
; FeatureLineCodeInfos (RO) = #<VLA-OBJECT IAeccFeatureLineCodeInfos 0000024d2dd086c0>
; Handle (RO) = "839AB"
; HasExtensionDictionary (RO) = 0
; Hyperlinks (RO) = #<VLA-OBJECT IAcadHyperlinks 0000024d4582f0e8>
; Layer = "C-3D Profilkörper"
; Linetype = "ByLayer"
; LinetypeScale = 1.0
; Lineweight = -1
; Material = "ByLayer"
; MaximumTriangleSideLength = 0.0
; Name = "3D Profilkörper Hauptachse"
; ObjectID (RO) = 42
; ObjectName (RO) = "AeccDbCorridor"
; OutOfDate (RO) = 0
; OwnerID (RO) = 43
; PlotStyleName = "ByLayer"
; RebuildAutomatic = 0
; ShowToolTip = -1
; TrueColor = #<VLA-OBJECT IAcadAcCmColor 0000024d4582ef60>
; Visible = -1
; Unterstützte Methoden:
; AddBaseline (3)
; ArrayPolar (3)
; ArrayRectangular (6)
; Copy ()
; Delete ()
; GetBoundingBox (2)
; GetExtensionDictionary ()
; GetXData (3)
; Highlight (1)
; IntersectWith (2)
; IsReferenceObject ()
; IsReferenceStale ()
; IsReferenceSubObject ()
; IsReferenceValid ()
; Mirror (2)
; Mirror3D (3)
; Move (2)
; Rebuild ()
; Rotate (2)
; Rotate3D (3)
; ScaleEntity (2)
; SetXData (2)
; TransformBy (1)
; Update ()
And the description of the "CorridorFeatureLine Class" does not show me how to get there:
http://docs.autodesk.com/CIV3D/2018/ENU/API_Reference_Guide/html/fd9c26dc-d4c1-aa59-b030-3e370280ff5f.htmAny advice will be appreciated.