SectionProjectionLabelCreate(ObjectId, ObjectId) Method |
Creates a new instance of a SectionProjectLabel on the specified SectionView with the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId sectionViewId,
ObjectId sectionProjectionId
)
Public Shared Function Create (
sectionViewId As ObjectId,
sectionProjectionId As ObjectId
) As ObjectId
public:
static ObjectId Create(
ObjectId sectionViewId,
ObjectId sectionProjectionId
)
Parameters
- sectionViewId ObjectId
- The ObjectId of a SectionView in which the label is located.
- sectionProjectionId ObjectId
- The ObjectId of a feature object projected into the SectionView to label
(object type SectionProjection, CogoPoint, FeatureLine or SurveyFigure).
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the sectionViewId or sectionProjectionId is invalid.
|
Remarks
sectionProjectionId must be the ObjectId of a SectionProjection, CogoPoint, FeatureLine or SurveyFigure.
See Also