SectionOffsetLabelGroupCreateMajor(ObjectId, ObjectId, Double, ObjectId) Method |
Creates a new instance of a SectionOffsetLabelGroup on the Section in the specified SectionView with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId CreateMajor(
ObjectId sectionViewId,
ObjectId sectionId,
double increment,
ObjectId labelStyleId
)
Public Shared Function CreateMajor (
sectionViewId As ObjectId,
sectionId As ObjectId,
increment As Double,
labelStyleId As ObjectId
) As ObjectId
public:
static ObjectId CreateMajor(
ObjectId sectionViewId,
ObjectId sectionId,
double increment,
ObjectId labelStyleId
)
Parameters
- sectionViewId ObjectId
- The ObjectId of the SectionView in which the label group is located.
- sectionId ObjectId
- The ObjectId of the Section in which the label group is labeling.
- increment Double
- The increment value at which to insert major offset labels.
- labelStyleId ObjectId
- The ObjectId of the SectionOffsetLabelStyle to use.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The sectionViewId, sectionId or labelStyleId is invalid.
- The increment value is less than or equal to 0.
|
See Also