Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Field LOGIN - can I change content of it...?

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
cessares
1529 Views, 10 Replies

Field LOGIN - can I change content of it...?

Hi.

As a default field LOGIN dispaly my full name and surname - I would like to modify it to display only my initial - is it possible in AC LT 2015?

 

Regards...

10 REPLIES 10
Message 2 of 11
Jason.Piercey
in reply to: cessares

I suppose you could use a diesel expression.  You'll have to modify this to work for you.

 

$(substr,$(getvar,loginname),1,1)$(substr,$(getvar,loginname),6,1)

 

 

My first name is 5 characters long so the 6,1 gets the first initial of my last name.

Message 3 of 11
cessares
in reply to: Jason.Piercey

Hi. How do I use this diesel expression - never heared it? Does it work in LT?

Message 4 of 11
M_Hensley
in reply to: cessares

When writing text right-click and select Insert Field. Under Field names select DieselExpression. Paste the diesel code in the box on the right.

Message 5 of 11
Jason.Piercey
in reply to: cessares


@cessares wrote:

Does it work in LT?


Yes.

Message 6 of 11
cessares
in reply to: Jason.Piercey

Thanks for that....but - see picture 😕

 

Where can I find dieles expressions? I think I can make use of them in the future...

Message 7 of 11
Jason.Piercey
in reply to: cessares

I don't have LT to test, but what happens if you just type in Loginname at the command line?

Message 8 of 11
cessares
in reply to: Jason.Piercey

Command: LOginname
Unknown command "LOGINNAME". Press F1 for help.

 

Fck! 🙂

Message 9 of 11
Jason.Piercey
in reply to: cessares

I'm out of ideas on that.  Someone with more LT knowledge will have to chime in.

Message 10 of 11
cessares
in reply to: Jason.Piercey

No option for login 😕

 

LT is LT

 

Diesel works on file name, I can extract what I want from it - how to dispaly CAPITAL LETTERS insted lowercases?

Message 11 of 11
Jason.Piercey
in reply to: cessares


@cessares wrote:

 

Diesel works on file name, I can extract what I want from it - how to dispaly CAPITAL LETTERS insted lowercases?


You can use the UPPER function in the diesel expression.  Check the help files for proper syntax.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost