transparant polygon

4116
5
Jump to solution
02-16-2015 08:00 AM
aTomasaLooström
New Contributor

Hi,

In City Engine, is there a way to make a flat polygon (foootprint) transparant so that a orthophoto will be seen throu the polygon, in the same way you can in ArcMap (2d)?

If it´s possible can you show me the code?

Best regarde Tomas

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
BenLeslie1
Occasional Contributor III

attr opacityVal = 0.5

set(material.opacity, opacityVal)

Don't forget this only affects the procedural geometry not the original shapes so you may need to toggle-off the original shapes.

View solution in original post

0 Kudos
5 Replies
DarrenWiens2
MVP Honored Contributor

If you're not talking about ArcMap, what software are you using? ArcScene, AGOL, web map, other?

0 Kudos
aTomasaLooström
New Contributor

Hi,

I forgot to mention that it was in City Engine.

0 Kudos
XanderBakker
Esri Esteemed Contributor

As Darren Wiens‌ already indicates there is some information lacking to be able to provide a helpful answer.

Your thread is not posted in a place that is directed towards a specific audience (see: What are Places? ). Please move the content to a relevant place.

If you want to see code samples, it would be good to specify the API or SDK you are using. To see what flavors are available, please visit: ArcGIS for Developers

0 Kudos
BenLeslie1
Occasional Contributor III

attr opacityVal = 0.5

set(material.opacity, opacityVal)

Don't forget this only affects the procedural geometry not the original shapes so you may need to toggle-off the original shapes.

0 Kudos
aTomasaLooström
New Contributor

Hi,

Tanks a lot, I didn't know that I had to toggle-off!

/Tomas

0 Kudos