CogShapeModelLine GetEffectiveWeight Method Cognex VisionPro 9.8 SR1
If this feature has no ParentFeature, then its effective weight is the value of the Weight property. If this feature has a ParentFeature, then the effective weight is the Weight times the effective weight of the ParentFeature.

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax

public virtual double GetEffectiveWeight()

Return Value

Type: Double

The effective weight.

Implements

ICogModelFeature GetEffectiveWeight 
Remarks

Returns the effective weight of this feature

If this feature does not have a ParentFeature its effective weight is the value of Weight. If it does have a ParentFeature its effective weight is the Weight times the effective weight of the ParentFeature.

See Also