XREF FADE NEGATIVE VALUE

XREF FADE NEGATIVE VALUE

Anonymous
Not applicable
1,793 Views
4 Replies
Message 1 of 5

XREF FADE NEGATIVE VALUE

Anonymous
Not applicable

Hi,

 

Does anyone understand what the function is of the negative xref fade value? All I find is "When the value is negative, xref objects are not faded, but the value is saved for switching to that value by changing the sign." However there doesn't seem to be a way to quickly change the sign from positive to negative, so I feel like I must be missing a crucial step...

0 Likes
Accepted solutions (1)
1,794 Views
4 Replies
Replies (4)
Message 2 of 5

cadffm
Consultant
Consultant

Right,

XDWGFADECTL is reachable in OPTIONS dialog and via commandline,

and so far i know, no ON/OFF toggle ootb.


But negative value as OFF&KEEP(value) is good and usual, for new features

and also for developers&users who can't wait.

DIESEL
'XDWGFADECTL;$M=$(*,-1,$(getvar,XDWGFADECTL))

or in Lisp
(setvar 'XDWGFADECTL (* -1 (getvar 'XDWGFADECTL)))

Sebastian

Message 3 of 5

kadeking
Advocate
Advocate
Accepted solution

It just turns off the setting without changing the value. So if it's turned back on, it will retain it's setting. So really the values are 0%-90% faded. Then a - value is just that same percentage with the xref fade disabled. Primarily used for programming.

Message 4 of 5

cheryl.buck
Autodesk Support
Autodesk Support

Hi @Anonymous,

 

I found a little more information on what it is used for in the LAYLOCKFADECTL (System Variable) help file. 

 

Seems to be more commonly used in Civil 3D, see Fading visual display of XREF drawings in Civil 3D.

 

You can use the Accept Solution button to mark any posts that provide the answer or solution.

Likes are always welcome.

 

All the best,

 

 

 

Cheryl Buck
Technical Support Specialist



Did a post answer your question or help resolve the issue? Please click the Accept Solution button.
If you find a response helpful, consider Liking the post.

Message 5 of 5

cadffm
Consultant
Consultant

@cheryl.buck 

LAYLOCKFADECTL is not XDWGFADECTL, but ok - the "handling" is the same, just for two different things (locked layer vs. XRef content)


The difference is: For LAYLOCKFADECTL there is a toggle ON/OFF in the ootb AutoCAD standard cuix/workspace
in LAYER panel // ID_RBN_TOGGLEBTN_LOCKEDLAYERFADING, and for XDWGFADECTL => not.

For both are predefined cuix-commands available, but not in use.

 

 

 

 

@ CADffm - I have to correct you!


@cadffm wrote:

and so far i know, no ON/OFF toggle ootb.*

...

DIESEL
'XDWGFADECTL;$M=$(*,-1,$(getvar,XDWGFADECTL))

or in Lisp
(setvar 'XDWGFADECTL (* -1 (getvar 'XDWGFADECTL)))


* That's not right. There is a pre-defined cuix-commands to XDWGFADECTL

ID_XDwgFadingToggle '_setvar;XDWGFADECTL;$M=$(-,0,$(getvar,XDWGFADECTL))

 

But this one and also ID_LockedLayerFadingToggle for LayLockedFadeToggle are not in use,

only ready to use for customizing.

 

Sebastian

0 Likes