NetworkRuleSetStyleCloneAndAddRule Method

Add a copy of input source rule to rule set.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void CloneAndAddRule(
	ObjectId sourceRuleId
)

Parameters

sourceRuleId  ObjectId
ObjectId of source rule.
Exceptions
ExceptionCondition
ArgumentException Thrown when sourceRuleId is not an objectId of network rule.
Remarks
the source rule will not be added into current rule set, instead a copy will be added. OBJECTID TYPE: Autodesk.Civil.DatabaseServices.NetworkRule
See Also