Community
The index to access objects in COM collections, like InwClashTestsColl, is a variable called ndx. I could not find a reference for this index, tried 0, 1, 2... and also the nwID of the objects, but none worked.
Hi potapczuk,
ndx is just a long for index in a collection. I tried with the code snippet below based on SDK sample AUTO_04, it works well.It means the collection is 1 based.
' Run all stored clash test
m_clash.RunAllTests
Dim oMyTest As InwOclClashTest
Set oMyTest = m_clash.Tests(1)
Best regards,
Xiaodong Liang
Developer Consultant
Autodesk Developer Technical Services