Smart questions
Smart answers
Smart people
Join Eng-Tips Forums
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Eng-Tips
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

SkyRat (Mining) (OP)
18 Aug 11 4:06
Hey there,

Could anyone please tell me how I can achive the following:

I want to have an attribute on my drawing sheet that intelligently counts the number of sheets as you add them, so as you add a second sheet it will display: Sheet 1 of 2 and on sheet two it will display: sheet 2 of 2. Again, if I were to add a third drawing sheet, all three sheets must update to display:

Sheet 1 of 3 (For sheet 1)
Sheet 2 of 3 (For sheet 2)
Sheet 3 of 3 (For sheet 3)

Many thanks in Advance.

PS - We are also using TC 8.3
Gunman (Automotive)
18 Aug 11 7:09
Number of the current sheet: <W@$SH_SHEET_NUMBER>

Total number of sheets: <W@$SH_NUMBER_OF_SHEETS>

so this should do what you want:

<W@$SH_SHEET_NUMBER> of <W@$SH_NUMBER_OF_SHEETS>

-Dave

NX 5.0.6.3mp7

SkyRat (Mining) (OP)
18 Aug 11 7:16
Thanks very much Gunman,

This has solved my problem!


Where can I get a full list of attributes available for use inside of NX?
looslib (Mechanical)
18 Aug 11 9:51
They are in the help and documentation pages that come with NX.

 

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

JohnRBaker (Mechanical)
18 Aug 11 10:28
The drawing sheet count functions are technically NOT what you would call 'attributes' but rather the result of something called 'automatic text'.  For more information about the use of 'automatic text' in Drafting, go to:

http://www.eng-tips.com/viewthread.cfm?qid=298763&;

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.com/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

Helpful Member!  ewh (Aerospace)
18 Aug 11 13:33
Also, this only returns the sheet number that NX sees, not necessarily what someone has named it.  If someone decides that the original "sheet 3" should be "sheet 2" and renames them thus, NX won't catch the change.  To keep it "associative", you will have to move the views from one sheet to another instead of renaming the sheet.

"Good to know you got shoes to wear when you find the floor." - Robert Hunter
 

SkyRat (Mining) (OP)
18 Aug 11 23:58
Brilliant Stuff!

Thanks so much for all the input guys, much appreciated!!

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!

Back To Forum

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close