
v2.0
Returns a SampleCollection
containing each Sample objects for this
facet.
Note: This property returns a SampleCollection, not an IDispatch
object, which means that it will not give you access to the Facet
methods and properties, only the methods and properties that are
available on Sample objects.
set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oFacets = oCube.ActivePrimitive.Geometry.Facets
set oSamples = oFacets(1).samples
str = "The sample indices for Facet(1) of this geometry are: "
for each oSample in oSamples
str = str & " " & oSample.Index
next
LogMessage str
|