BoundaryConditions.IsValidReference
Description:
Checks if the provided reference can host a boundary conditions.
Checks if the provided reference can host a boundary conditions.
public static bool IsValidReference(
Document doc,
Reference reference,
BoundaryConditionsType type,
bool isConstrainedOnHost
)
-
docThe document containing both the host and the boundary conditions.
-
referenceA reference to an analytical element.
-
typeThe type of the boundary conditions that is about to be hosted.
-
BooleanisConstrainedOnHostA value indicating if the boundary conditions is constrained on host or not.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration