CogCADFile PropertiesCognex VisionPro 9.7

The CogCADFile type exposes the following members.

Properties

  NameDescription
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyConnectEnabled
If true, it will try to connect open shapes into longer contours which are better for synthetic PatMax. Shapes are connected when the user calls the GetShape... methods. ConnectTolerance is used to control how near shapes must be to be connected.
Public propertyConnectTolerance
Two open contour shapes are connectable if the distance between two of their endpoints is less than this tolerance. Only used if ConnectEnabled is True. This tolerance value is in the same units as the CAD file.
Public propertyFileName
Name of the current open file. If there is no open file, it will return an empty string.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertySelectedSpaceName
Returns/sets the name of the coordinate space for this class, which will be applied to the shapes extracted from the CAD file. The SelectedSpaceName of each extracted shape will be copied from this property.
Public propertySplineApproximationSpacing
All splines in the CAD file will be approximated. Sample points are computed along the spline such that the arc lengths between adjacent sample points do not exceed this spacing. This spacing value is in the the same units as the CAD file.
Public propertySplineApproximationTolerance
All splines in the CAD file will be approximated. Sample points along the spline are guaranteed to be no further than this tolerance from the actual shape. This tolerance value is in the same units as the CAD file.
Top
See Also