X-ray transparency settings?
-
Does anyone know if I can change the X-ray transparency amount?
thanks
-
Check the rendering options hash of the model object.
model.rendering_optionshttp://www.sketchup.com/intl/en/developer/docs/ourdoc/renderingoptions

-
I guess not

Didn't find anything useful here:
http://www.sketchup.com/intl/en/developer/su-api/rendering__options_8h.html -
This would be fixed if LO had simple opacity controls in layers.
-
You can only get/set and toggle Xray-mode on/off using:
Sketchup.active_model.rendering_options["ModelTransparency"] Sketchup.active_model.rendering_options["ModelTransparency"]=true Sketchup.active_model.rendering_options["ModelTransparency"]=falseThe amount of Xray-mode's 'opacity' is 'hard-coded'

Fredo has made a pseudo Xray-mode tool [can't recall it's name off-hand
], which works on selected objects, but that just swaps to similar but translucent materials [you could customize the amount of transparency in it] - so although it mimics Xray for parts of the model, it is only useful 'graphically' in images - there are none of the Xray-mode's advantages - like being able to pick 'through' intervening faces etc...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement