Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

move curves to layer,except thread curves

Status
Not open for further replies.

rafl

Mechanical
May 30, 2011
41
0
0
PL
Hello

I use the code below to move all the curves to layer.Basically it works as expected, except now I want to exclude thread curves.
How to collect all the dashed thread curves?


Code:
         Dim displayModification1 As DisplayModification
                displayModification1 = Session.GetSession.DisplayManager.NewDisplayModification()
                displayModification1.NewLayer = 30
                displayModification1.Apply(workPart.Curves.ToArray)
                displayModification1.Dispose()
 
Replies continue below

Recommended for you

One way to find symbolic threads is to use the .AskObjectFeat method; pass in the tag of the curve and it will return the tag of the feature that created it (if any). If it returns a hole feature or symbolic thread feature, you have a thread curve.

www.nxjournaling.com
 
Status
Not open for further replies.
Back
Top