Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-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
Joined
May 30, 2011
Messages
41
Location
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()
 
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.

Part and Inventory Search

Sponsor

Back
Top