Share

Network.AddStructure(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.280

Syntax

C#

public void AddStructure(
	ObjectId structureFamilyId,
	ObjectId structureSizeId,
	Point3d location,
	double rotation,
	ref ObjectId newStructureId,
	bool applyRules
)

VB

Public Sub AddStructure ( 
	structureFamilyId As ObjectId,
	structureSizeId As ObjectId,
	location As Point3d,
	rotation As Double,
	ByRef newStructureId As ObjectId,
	applyRules As Boolean
)

C++

public:
void AddStructure(
	ObjectId structureFamilyId, 
	ObjectId structureSizeId, 
	Point3d location, 
	double rotation, 
	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

Reference

Was this information helpful?