Class DesignRule
Inheritance
System.Object
System.MarshalByRefObject
DesignRule
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.Routing
Assembly: NXOpen.dll
Syntax
[Obsolete("Deprecated in NX12.0.0. Use NXOpen.Routing.CustomManager.DesignRule instead.")]
public class DesignRule : NXObject, IMessageSink, INXObject
Constructors
DesignRule()
Declaration
protected DesignRule()
Properties
Application
Declaration
[Obsolete("Deprecated in NX12.0.0. Use NXOpen.Routing.CustomManager.DesignRule instead..")]
public string Application { get; }
Property Value
Type | Description |
---|---|
System.String |
Description
Declaration
[Obsolete("Deprecated in NX12.0.0. Use NXOpen.Routing.CustomManager.DesignRule instead..")]
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
Drname
Declaration
[Obsolete("Deprecated in NX12.0.0. Use NXOpen.Routing.CustomManager.DesignRule instead..")]
public string Drname { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
AddViolations(DesignRuleViolation[])
Declaration
[Obsolete("Deprecated in NX11.0.0. Use Routing.DesignRule.CreateViolation instead.")]
public void AddViolations(DesignRuleViolation[] violations)
Parameters
Type | Name | Description |
---|---|---|
DesignRuleViolation[] | violations |
ClearViolationOnObject(NXObject)
Declaration
[Obsolete("Deprecated in NX12.0.0. Use NXOpen.Routing.CustomManager.DesignRule instead..")]
public void ClearViolationOnObject(NXObject objectToCheck)
Parameters
Type | Name | Description |
---|---|---|
NXObject | objectToCheck |
CreateViolation(String, String, NXObject[])
Declaration
[Obsolete("Deprecated in NX12.0.0. Use NXOpen.Routing.CustomManager.DesignRule instead..")]
public DesignRuleViolation CreateViolation(string shortDescription, string longDescription, NXObject[] objects)
Parameters
Type | Name | Description |
---|---|---|
System.String | shortDescription | |
System.String | longDescription | |
NXObject[] | objects |
Returns
Type | Description |
---|---|
DesignRuleViolation |
GetViolations()
Declaration
[Obsolete("Deprecated in NX12.0.0. Use NXOpen.Routing.CustomManager.DesignRule instead..")]
public DesignRuleViolation[] GetViolations()
Returns
Type | Description |
---|---|
DesignRuleViolation[] |
Implements
System.Runtime.Remoting.Messaging.IMessageSink