Software Developer's Kit - ChemDraw

Send comments on this topic
ConstraintType Property
See Also 


Member of ChemDraw Control.Constraint.

Returns the type of this constraint.

Property type

Read-only property


Visual Basic
Public Property ConstraintType() As CDConstraintType

Return Type


This property specifies the type of relationship of the constraint between the objects.

To create a 3D query you add geometry (lines, planes, etc.) and constraint objects (specified as ranges) to a query structure. For example, you might specify that two atoms must be between 4 and 5 angstroms apart, or that two planes must be separated by 80-100 degrees.

Points may be atoms, centroids or points. Lines may be lines or normals.

Geometry and constraint objects update dynamically when you change the structure. 

See Also