CogCADFile SelectedSpaceName Property Cognex VisionPro 9.5
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.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax

public string SelectedSpaceName { get; set; }

Property Value

Type: String
Events

Event TypeReason
CogCADFile Changed

Fires when this property changes.

The following state flag may be affected:

    Exceptions

    ExceptionCondition
    CogSpaceTreeInvalidNameSyntaxException

    An invalid selected space name was supplied.

    Remarks

    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 set to the value of this property.

    Default Value: "."

    See Also