Create and add a new structure into the network.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void AddStructure(
ObjectId structureFamilyId,
ObjectId structureSizeId,
Point3d location,
double rotation,
ref ObjectId newStructureId,
bool applyRules
) |
Visual Basic |
---|
Public Sub AddStructure ( _
structureFamilyId As ObjectId, _
structureSizeId As ObjectId, _
location As Point3d, _
rotation As Double, _
ByRef newStructureId As ObjectId, _
applyRules As Boolean _
) |
Visual C++ |
---|
public:
void AddStructure(
ObjectId structureFamilyId,
ObjectId structureSizeId,
Point3d location,
double rotation,
ObjectId% newStructureId,
bool applyRules
) |
Parameters
- structureFamilyId
- Type: ObjectId
Structure family id.
- structureSizeId
- Type: ObjectId
Object id for the Structure Size.
- location
- Type: Point3d
The location of the newly added structure.
- rotation
- Type: System..::..Double
The rotation of new added structure.
- newStructureId
- Type: ObjectId%
Returns the object id of the newly added structure.
- applyRules
- Type: System..::..Boolean
Returns whether the method needed to apply rules.
See Also