programmatically single entity to selected


Looks like you have a typo, should be “entity.polygon.material”, not metarial. If you need more help, it will be easier for us to hep you if you create a sandcastle example by pasting your code into the Sandcastle application and sharing the link generated by hitting the “Share” button at the top of the page.

You might find this example helpful:

Hope that helps,

  • Rachel