here is what I did and still not able to change the transparency of objects in the inline wrl file.
My Inline file looks like this
Inline {
url "test.wrl"
bboxSize 0.5 2.5 0.5
}
My Code in VB.NET looks like this
For Each node In eng.RootNodes
If node.TypeName = "Shape" Then
i = i + 1
node.Fields("appearance").Value.Fields("material").Value.Fields("transparency").Value = 1
End If
Next
Any help is appreciated
So my question: how can I interact with the element/geometry inside an 'Inline' wrl file?
First, get the Inline node object, for example, from Engine.Nodes or Engine.RootNodes collection. Then use the Nodes/RootNodes properties of the Inline node object to get the contents of the "inlined" wrl file.