NetworkAddStructure(ObjectId, ObjectId, Point3d, Double, ObjectId, Boolean) Method |
Create and add a new structure into the network.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void AddStructure(
ObjectId structureFamilyId,
ObjectId structureSizeId,
Point3d location,
double rotation,
ref ObjectId newStructureId,
bool applyRules
)
Public Sub AddStructure (
structureFamilyId As ObjectId,
structureSizeId As ObjectId,
location As Point3d,
rotation As Double,
ByRef newStructureId As ObjectId,
applyRules As Boolean
)
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