NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Routing.DesignRuleViolationCollection Class Reference

Represents a collection of NXOpen.Routing.DesignRuleViolation objects. More...

Inheritance diagram for NXOpen.Routing.DesignRuleViolationCollection:
NXOpen.TaggedObjectCollection NXOpen.Utilities.NXRemotableObject IEnumerable IMessageSink

Public Types

enum  Mode { Concurrent, Interactive, Batch }
 Design Rule Mode More...
 
enum  Reason {
  Unknown, CreatePath, HealPath, AssignCorner,
  AssignStock, RemoveStock, StockStyle, PlacePart,
  CreateFab, QualifyPart, MovePath, CopyPath,
  DeletePath, SubdivideSeg, SimplifyPath, RemovePart,
  MovePart, EditCharx, Interactive, Batch,
  OrientStock, UnifyPath, TransformPath, OffsetPath,
  AutoRoutePin, ManualRoutePin, AutoRouteComp, ManualRouteComp,
  Import, PartialAutoRouteComp, EditPlacePart, BulkReplacement
}
 Design Rule reason More...
 

Public Member Functions

unsafe
NXOpen.Routing.DesignRuleViolation 
CreateDesignRuleViolation (string shortDescription, string longDescription, NXOpen.NXObject[] objects)
 Creates a NXOpen.Routing.DesignRuleViolation object. More...
 
unsafe
NXOpen.Routing.DesignRuleViolation[] 
ReasonExecuteRule (NXOpen.Routing.DesignRuleViolationCollection.Mode mode, NXOpen.Routing.DesignRuleViolationCollection.Reason reason, NXOpen.NXObject[] objs)
 Executes design rules and returns all the violations of the rule More...
 
NXOpen.Routing.DesignRuleViolation[] ToArray ()
 Returns an array of NXOpen.Routing.DesignRuleViolation objects. More...
 
- Public Member Functions inherited from NXOpen.TaggedObjectCollection
IEnumerator GetEnumerator ()
 Returns an enumerator that iterates through a collection. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObjectCollection
new void initialize ()
 <exclude> More...
 
- Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject
void initialize ()
 <exclude> More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen.Routing.DesignRuleViolation objects.

To obtain an instance of this class, refer to NXOpen.Routing.RouteManager

Created in NX4.0.0

Member Enumeration Documentation

Design Rule Mode

Enumerator
Concurrent 

Executes design rules on all concurrently logged objects.

Use LogConcurrent method on NXOpen.Routing.RouteManager to concurrently logged objects and GetConcurrent method to get all the concurrent objects

Interactive 

Execute design rules during next interactive check

Batch 

Unused.

Design Rule reason

Enumerator
Unknown 
CreatePath 
HealPath 
AssignCorner 
AssignStock 
RemoveStock 
StockStyle 
PlacePart 
CreateFab 
QualifyPart 
MovePath 
CopyPath 
DeletePath 
SubdivideSeg 
SimplifyPath 
RemovePart 
MovePart 
EditCharx 
Interactive 
Batch 
OrientStock 
UnifyPath 
TransformPath 
OffsetPath 
AutoRoutePin 
ManualRoutePin 
AutoRouteComp 
ManualRouteComp 
Import 
PartialAutoRouteComp 
EditPlacePart 
BulkReplacement 

Member Function Documentation

unsafe NXOpen.Routing.DesignRuleViolation NXOpen.Routing.DesignRuleViolationCollection.CreateDesignRuleViolation ( string  shortDescription,
string  longDescription,
NXOpen.NXObject[]  objects 
)
inline

Creates a NXOpen.Routing.DesignRuleViolation object.

Once created, you must add the violation to a rule using NXOpen.Routing.DesignRule.AddViolations .

Created in NX4.0.2

Deprecated in NX11.0.0. Use Routing.DesignRule.CreateViolation instead.

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
shortDescription
longDescription
objects
Returns
override int NXOpen.Routing.DesignRuleViolationCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
inlineprotectedvirtual

Advances the enumerator to the next element of the collection.

Implements NXOpen.TaggedObjectCollection.

unsafe NXOpen.Routing.DesignRuleViolation [] NXOpen.Routing.DesignRuleViolationCollection.ReasonExecuteRule ( NXOpen.Routing.DesignRuleViolationCollection.Mode  mode,
NXOpen.Routing.DesignRuleViolationCollection.Reason  reason,
NXOpen.NXObject[]  objs 
)
inline

Executes design rules and returns all the violations of the rule

Created in NX4.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
modeDesign Rule Mode
reasonDesign Rule Reason
objsObjects to check the design rule violation against
Returns
Violations
NXOpen.Routing.DesignRuleViolation [] NXOpen.Routing.DesignRuleViolationCollection.ToArray ( )
inline

Returns an array of NXOpen.Routing.DesignRuleViolation objects.

Property Documentation

Tag NXOpen.Routing.DesignRuleViolationCollection.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2019 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.