2025 Method
Changes 5
M

RebarConstraint.CreateConstraintToSurface

Description:
This method creates a constraint of 'To Surface' type for a given RebarConstrainedHandle.The RebarConstrainedHandle should belong to a shape driven rebar, otherwise it will throw exception.
public static RebarConstraint CreateConstraintToSurface(
	RebarConstrainedHandle handle,
	Surface surface
)
  • handle
    The handle of the rebar that will be constrained.
  • surface
    The surface that will be used by the constraint.
Return Value RebarConstraint Returns the newly created RebarConstraint.