ProfileCreateStaticFGFromProfile(String, ObjectId, ObjectId, ObjectId, ObjectId) Method |
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.8.0.292
Syntaxpublic static ObjectId CreateStaticFGFromProfile(
string profileName,
ObjectId profileId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
)
Public Shared Function CreateStaticFGFromProfile (
profileName As String,
profileId As ObjectId,
layerId As ObjectId,
styleId As ObjectId,
labelSetId As ObjectId
) As ObjectId
public:
static ObjectId CreateStaticFGFromProfile(
String^ profileName,
ObjectId profileId,
ObjectId layerId,
ObjectId styleId,
ObjectId labelSetId
)
Parameters
- profileName String
- The name for the new profile. Make sure this name is not used by another profile under the specified alignment.
- profileId ObjectId
-
- layerId ObjectId
-
- styleId ObjectId
-
- labelSetId ObjectId
-
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The originating profile is invalid
- The new profile name is null or empty.
|
See Also