I would like to know how to do this too. Any suggestions autodesk admins?
I think it would also be very useful to get all the code examples that are embedded within the windows .chm help file up on a web page somewhere. Copying code out of the windows help viewer is a right pain and loses all formatting.
You can also control the selection set programmatically. First call IAdContent::CreateUserCollection to return an empty IAdUserCollection. You can then add to it the IAdObject interfaces of those objects you want selected. Once complete, you can “set” the IAdContent:bjects(ObjectType:elected) property to your collection to effect the desired selection."
var MyCollection = ECompViewer.Section.Content.CreateUserCollection();