Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

NX drafting table/expression calculations 1

Status
Not open for further replies.

petulf

Mechanical
Aug 12, 2009
210
Hi

We are creating new master model drafting templates where we have tables with process parameters, some of which depend on each other. Thus it would be nice if the dependent values were automatically calculated, to avoid errors.

Is it possible to read values from notes/table-cells into the expression system? Or is it a one way street.

Is it possible to edit expression belonging to the drafting part without changing mode from drafting to modeling?
 
Replies continue below

Recommended for you

Q1 , don't know.
Q2 , Yes, you need to edit the Customer defaults, Drafting - General/setup - Miscellaneous(tab) - Allow Expressions. - This will enable the expressions editor in Drafting application.


Regards,
Tomas
 
Thomas thanks a lot!, did not even occur to me that there was a customer setting for the expression dialogs behavior in drafting.
 
Hi Petulf,

Q1, Maybe the the ug_cell_read formula is able to answer your problem in Tools/expression

ug_cell_read_formula_sd4vva.jpg


Q2, You can also set the "Allow PMI bidirectional Edits" parameter

pmi_workflow_fltanr.jpg


Regards
Didier Psaltopoulos
 
Thanks Didier, for your suggestions.

ug_cell_read() is for reading specific cells from an excel sheet and cannot read notes, tables etc from drafting as those are different entities.

Bidirectional PMI would not be suitable for a workaround in this case as the PMI would have to reside in the drafting template (which would require a view to show the pmi value). The settings is also set to disabled on our site as we only want drawings to pull data from the master model and not push information to it.

But enabling expressions in drafting, got me most of the functionality that I wanted for the templates. I.E simple user input for process parameters that calculate derived values which are shown on drawing in table form. For example,

expression_table.png
 
you can maybe do a "not so nice" workaround.
Place the note on the template. Hook up the note to an Expression.
The note will echo the value of the expression rather than the opposite.
Since the expression editor now is active in the drafting app, you edit the note from there.

Don't know if this added anything...

Regards,
Tomas
 
Toost, yes that is what we ended up doing. Expressions drives the notes and or table values, which works fine when expressions are available in the drafting module.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor