Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

.net help in drafting

Status
Not open for further replies.

uwam2ie

Automotive
Jul 11, 2005
1,008
HI;
HOW I can I get access to the thread parameters of a symbolic thread on a drawing with .net basic in nx7.5?
regards
uwe
 
Replies continue below

Recommended for you

There might be an easier way, but if the symbolic thread already exists before the .net program runs, you could read in all of the expressions and look for ones that control the symbolic thread. The symbolic thread automatically creates a bunch of expressions. You could do it with something simple like:

Dim theSession As Session = Session.GetSession
Dim workPart As Part = theSession.Parts.Work

Dim exps As ExpressionCollection = workPart.Expressions
For Each e As Expression In exps
'Do something here to weed out the other
'expressions and capture the symbolic thread
'expressions.
Next


Otherwise if the symbolic threads are created in the .net program, just store all the parameters with variables to adjust later.

Hope this answers your question.



sumBuddy (Mechanical)

--------------------------------------------------------------------------------
"I would like to change the world, but I can't find the source code."
 
thanks PostsumBuddy
not really that what I want.
looking for a direct way to put this information into a dimension/note.
It's a big lack in nx / feature parameter dimensioning is to complex for large drawings.
tia
 
....
-> "I would like to change the world, but I can't find the source code."
->not the world only the dna of nx ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor