Set prompted entries to read "Sheet Number" & "Number of Sheets"

Set prompted entries to read "Sheet Number" & "Number of Sheets"

Anonymous
Not applicable
514 Views
3 Replies
Message 1 of 4

Set prompted entries to read "Sheet Number" & "Number of Sheets"

Anonymous
Not applicable

My Client requires drawings to be submitted in autocad DWG format with specific field/attribute names.

I can achieve this by naming my prompted entries the same as the Field/attribute name.

I need to have a prompted entry "CN" read the  Sheet Property "Sheet Number" and Prompted entry "FN" read Drawing Property "Number of Sheets".

 

Any help on this matter would be greatfully appreciated.

0 Likes
515 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

I didn't understood your question. Can you post some images or upload the file?

0 Likes
Message 3 of 4

Anonymous
Not applicable

 My appoligies for being a little vague on this request.

 

 

What I need to do is:

  • Capture the current state of the "Drawings Property "Number of Sheets"" & the "Sheet Property "Sheet Number"".
  • Once I have this I need to assign this value to 2 x user parameters "FN" & "CN".
  • From there I can use these parameters to name 2 x prompted entries. (I can do this).

I hope this clarifies things as I dont have any code to copy and show at the moment.

 

Regards

 

Vance.

0 Likes
Message 4 of 4

adam.nagy
Autodesk Support
Autodesk Support

Hi Vance,

 

  • Capture the current state of the "Drawings Property "Number of Sheets"" & the "Sheet Property "Sheet Number"".
    - You can get that from the Sheets collection property. Sheets.Count and check the index of the sheet you're interested in to get its number - or just get it directly from the Sheet.Name property, where it will be after the colon, e.g. "Sheet:1

 

 

  • From there I can use these parameters to name 2 x prompted entries. (I can do this).
    - sounds like this is OK already

Cheers,



Adam Nagy
Autodesk Platform Services
0 Likes