GeometricConstraints3D Object
Description
The GeometricConstraints3D object provides access to all the geometric sketch constraints ( objects) in a 3D sketch and provides methods to create additional geometric sketch constraints.
Methods
AddCoincident |
Method that creates a new coincident constraint between two entities. One of the input entities must be a sketch point. The other entity can be any other type of sketch entity (but not a sketch point). Placing a coincident constraint between two points will fail. Use the ConnectTo method on the SketchPoint3D object to merge two points. This method will fail if the constraint overconstrains the sketch. |
AddCollinear |
Method that creates a new collinear constraint between the two input objects. This method will fail if the constraint overconstrains the sketch. |
AddCustom |
Method that creates a new custom constraint on the input sketch entity. |
AddEqual |
Creates a new equal constraint between the input entities. |
AddGround |
Method that creates a new ground constraint on the input sketch entity. This method will fail if the constraint overconstrains the sketch. |
AddMidpoint |
Method that creates a new midpoint constraint between the input point and the midpoint of the line. This causes the input sketch point to be positioned at the midpoint of the \input line. This method will fail if the constraint overconstrains the sketch. |
AddOnFace |
Creates a new on face constraint between the input entity and face. |
AddParallel |
Method that creates a new parallel constraint between the two input entities. This method will fail if the constraint overconstrains the sketch. |
AddParallelToXAxis |
Creates a new parallel constraint between the input entity and X-axis. |
AddParallelToXYPlane |
Creates a new parallel constraint between the input entity and XY-plane. |
AddParallelToXZPlane |
Creates a new parallel constraint between the input entity and XZ-plane. |
AddParallelToYAxis |
Creates a new parallel constraint between the input entity and Y-axis. |
AddParallelToYZPlane |
Creates a new parallel constraint between the input entity and YZ-plane. |
AddParallelToZAxis |
Creates a new parallel constraint between the input entity and Z-axis. |
AddPerpendicular |
Method that creates a new perpendicular constraint between the two input entities. This method will fail if the constraint overconstrains the sketch. |
AddSmooth |
Method that creates a new smooth (G2-continuous) constraint. This method will fail if the constraint overconstrains the sketch. |
AddTangent |
Method that creates a new tangent constraint. This method will fail if the constraint overconstrains the sketch or if the two input entities do not share at least one common sketch point. In creating the constraint, the method attempts to match the existing orientation between the two curves. If the dot product of the direction vectors for the curves at the tangent point is greater than 0.0 the options for the tangent constraint is set to be outward. That means that if you look at the curves and ignore the parameterization, the curves will be going in opposite directions. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Property that returns the number of items in the collection. |
Item |
Returns the specified geometric sketch constraint object from the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
Sketch3D.GeometricConstraints3D,
Sketch3DProxy.GeometricConstraints3D
Version
Introduced in version 6