Creates a new static FG profile from another profile. The profile inherits the originating profile's geometry, the update type is static.
The new profile belongs to the same alignment of the originating profile.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId CreateStaticFGFromProfile(
string profileName,
ObjectId profileId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
) |
Visual Basic |
---|
Public Shared Function CreateStaticFGFromProfile ( _
profileName As String, _
profileId As ObjectId, _
layerId As ObjectId, _
styleId As ObjectId, _
labelSetId As ObjectId _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId CreateStaticFGFromProfile(
String^ profileName,
ObjectId profileId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
) |
Parameters
- profileName
- Type: System..::..String
The name for the new profile. Make sure this name is not used by another profile under the specified alignment.
- profileId
- Type: ObjectId
- layerId
- Type: ObjectId
- styleId
- Type: ObjectId
- labelSetId
- Type: ObjectId
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The originating profile is invalid
- The new profile name is null or empty.
|
See Also