Use part of layout name in attribute

Use part of layout name in attribute

Anonymous
Not applicable
8,704 Views
5 Replies
Message 1 of 6

Use part of layout name in attribute

Anonymous
Not applicable

Hi,

Can someone point me, or write, field expression so that i can achieve this:

 

Name of layout: XXXX "1/3" 
Attribute: 1/3

 

I've been looking around and didnt saw anything familiar.

Thanks in advance for help.

0 Likes
8,705 Views
5 Replies
Replies (5)
Message 2 of 6

vinodkl
Mentor
Mentor

Hi @Anonymous 

 

As far as I know, you cannot enter characters like / \ ? : " ; * <> and few more characters in layout name. May I ask how you have entered the "1/3" in the layout name? Can you share a snapshot of the same?

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------
0 Likes
Message 3 of 6

Anonymous
Not applicable

Sorry, I didnt check that. I just made up scenario. It could be any kind of numeration for distinguishing lets say "This is drawing one out of three." like Drawing 1.3 .. 

How should i edit field expression to achieve that?

0 Likes
Message 4 of 6

neaton
Advisor
Advisor

The layout name is contained in the system variable CTAB. Look for the system variables under the fields list dropdown on the left.

Nancy

0 Likes
Message 5 of 6

Anonymous
Not applicable

I know that, but i want to use just part of it... If ctab is DRAWING 1.2,in my attribute i want to use 1.2 only

0 Likes
Message 6 of 6

neaton
Advisor
Advisor

Try this link for diesel expression https://forums.autodesk.com/t5/autocad-lt-forum/diesel-expressions-for-layout-tab-names/td-p/7505093

It's not exactly what you are talking about but a diesel expression is probably what you are after.

0 Likes