CreatePointBoundaryConditions(Document, Reference, TranslationRotationValue, Double, TranslationRotationValue, Double, TranslationRotationValue, Double, TranslationRotationValue, Double, TranslationRotationValue, Double, TranslationRotationValue, Double) Method


Boundary Conditions Create Point Boundary Conditions(Document, Reference, Translation Rotation Value, Double, Translation Rotation Value, Double, Translation Rotation Value, Double, Translation Rotation Value, Double, Translation Rotation Value, Double, Translation Rotation Value, Double) Method

Creates a new hosted point boundary conditions within the project.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static BoundaryConditions CreatePointBoundaryConditions(
	Document doc,
	Reference reference,
	TranslationRotationValue X_Translation,
	double X_TranslationSpringModulus,
	TranslationRotationValue Y_Translation,
	double Y_TranslationSpringModulus,
	TranslationRotationValue Z_Translation,
	double Z_TranslationSpringModulus,
	TranslationRotationValue X_Rotation,
	double X_RotationSpringModulus,
	TranslationRotationValue Y_Rotation,
	double Y_RotationSpringModulus,
	TranslationRotationValue Z_Rotation,
	double Z_RotationSpringModulus
)

Parameters

doc Document
The document in which to create the boundary conditions.
reference Reference
A reference to an analytical element end.
X_Translation TranslationRotationValue
A value indicating the X axis translation option.
X_TranslationSpringModulus Double
Translation Spring Modulus for X axis. Ignored if X_Translation is not "Spring".
Y_Translation TranslationRotationValue
A value indicating the Y axis translation option.
Y_TranslationSpringModulus Double
Translation Spring Modulus for Y axis. Ignored if Y_Translation is not "Spring".
Z_Translation TranslationRotationValue
A value indicating the Z axis translation option.
Z_TranslationSpringModulus Double
Translation Spring Modulus for Z axis. Ignored if Z_Translation is not "Spring".
X_Rotation TranslationRotationValue
A value indicating the X axis rotation option.
X_RotationSpringModulus Double
Rotation Spring Modulus for X axis. Ignored if X_Rotation is not "Spring".
Y_Rotation TranslationRotationValue
A value indicating the Y axis rotation option.
Y_RotationSpringModulus Double
Rotation Spring Modulus for Y axis. Ignored if Y_Rotation is not "Spring".
Z_Rotation TranslationRotationValue
A value indicating the Z axis rotation option.
Z_RotationSpringModulus Double
Rotation Spring Modulus for Z axis. Ignored if Z_Rotation is not "Spring".

Return Value

BoundaryConditions
If successful, returns the newly created boundary conditions with the BoundaryConditionsType = 0 - "Point". Otherwise it returns .
Exceptions
Exception Condition
ArgumentException reference is not a valid host for point boundary conditions. -or- Point boundary conditions already exist on the selected reference.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →