NetworkAddStructure(ObjectId, ObjectId, Point3d, Double, ObjectId, Boolean) Method

Create and add a new structure into the network.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void AddStructure(
	ObjectId structureFamilyId,
	ObjectId structureSizeId,
	Point3d location,
	double rotation,
	ref ObjectId newStructureId,
	bool applyRules
)

Parameters

structureFamilyId  ObjectId
Structure family id.
structureSizeId  ObjectId
Object id for the Structure Size.
location  Point3d
The location of the newly added structure.
rotation  Double
The rotation of new added structure.
newStructureId  ObjectId
Returns the object id of the newly added structure.
applyRules  Boolean
Returns whether the method needed to apply rules.
See Also