Display custom ActiveSheet.Size in title block

Display custom ActiveSheet.Size in title block

Anonymous
Not applicable
527 Views
1 Reply
Message 1 of 2

Display custom ActiveSheet.Size in title block

Anonymous
Not applicable

Hi,

 

I'm trying to display the ActiveSheet.Size in my title block.

 

I have "Normal" format size like : A0,A1,A2,A3,A4 who works perfectly.

 

But i can do custom size like 841mm height (like A0) and maybe 1400mm or 2000mm length.

 

In this case, i have the folowing message display in my title block :

 

Personalisé(mm)    -----   custom(mm) in english

 

instead of the format name i give  : 841x1400

 

Is it possible to force the texte for the ActiveSheet.Size to not have this random texte ?

 

0 Likes
Accepted solutions (1)
528 Views
1 Reply
Reply (1)
Message 2 of 2

YuhanZhang
Autodesk
Autodesk
Accepted solution

The Sheet.Size now just returns the string what you selected in the Size dropdown list on the Edit Sheet dialog. To return the length and height in the Sheet.Size API would be a wishlist for us. Currently a workaround can be that you create custom properties for the sheet length and height and then display them in the title block. Hope this helps.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes