Class DesignRuleViolation
Inheritance
DesignRuleViolation
Assembly: NXOpen.dll
Syntax
public class DesignRuleViolation : NXObject, IMessageSink, INXObject
Constructors
DesignRuleViolation()
Declaration
protected DesignRuleViolation()
Properties
LongDescription
Declaration
public string LongDescription { get; set; }
Property Value
Override
Declaration
public DesignRuleOverride Override { get; set; }
Property Value
ShortDescription
Declaration
public string ShortDescription { get; set; }
Property Value
TimeStamp
Declaration
public int TimeStamp { get; set; }
Property Value
Methods
AddObjects(DesignRuleViolation[])
Declaration
public void AddObjects(DesignRuleViolation[] objects)
Parameters
AddViolationLocations(DesignRuleViolationLocation[])
Declaration
public void AddViolationLocations(DesignRuleViolationLocation[] locationObjects)
Parameters
BlankLocationObjectsOfViolation(BlankOption)
Declaration
public void BlankLocationObjectsOfViolation(DesignRuleViolation.BlankOption blankOption)
Parameters
DeleteRuleOverride(DesignRuleOverride)
Declaration
public void DeleteRuleOverride(DesignRuleOverride deleteObject)
Parameters
GetLocations()
Declaration
public DesignRuleViolationLocation[] GetLocations()
Returns
GetObjects()
Declaration
public NXObject[] GetObjects()
Returns
GetOwningDesignRule()
Declaration
public DesignRule GetOwningDesignRule()
Returns
IsRuleOverridden()
Declaration
public bool IsRuleOverridden()
Returns
RemoveViolationOverride()
Declaration
public void RemoveViolationOverride()
SetLocations(DesignRuleViolationLocation[])
Declaration
public void SetLocations(DesignRuleViolationLocation[] violationLocations)
Parameters
SetObjects(NXObject[])
Declaration
public void SetObjects(NXObject[] objects)
Parameters
Type |
Name |
Description |
NXObject[] |
objects |
|
SetViolationOverride(string, string, int)
Declaration
public void SetViolationOverride(string user, string reason, int timestamp)
Parameters
Implements
System.Runtime.Remoting.Messaging.IMessageSink