ScriptSpot

Forum topic · Scripts Wanted

Xref Scene Overlay option checked by default

By Tricota · 2016-09-08

Description

 

Hi, I was looking for this within the forum with no luck, also i've been surfing the internet with no luck either, I would like to have Xref Scene Overlay option checked by default.

I was thinking I could run a startup script that modify this, but I don't have any clue how to do it, I have never learned how to program. I just do really basic stuff.

I was searching for the function xref overlay inside SDK help manual but I couldn't find it neither.

I have opened every *.ini file using notepad++ inside default directories, appdata, etc. and I didn't find any line to set.

I use xref a lot, and it is very annoying to check overlay every time I load an xref file.   If I don't  do it I will have overlapping faces on renders very frequently.

I hope any of you can help me with this.

Thanks in advance!
Tricota  😆

Comments (1)

Budi G · 2016-09-26

try this:

<XRefScene>.overlay -- boolean

Example to use it:

XrefOBJ = xrefs.getXRefFile 1
XrefOBJ.overlay = not XrefOBJ.overlay

I got this properties in 10 minutes, more and less ;)
yeah I think mxs help not expose it