normally I can do
pRuntime->SelectAll(MyObjectType);
pRuntime->Select(MyObjectPointer);
No, you should always use the functions that end in F (eg SelectF) because the other ones are deprecated and do not work properly.
[quote:17wwbheq]
pRuntime->SelectAll(MyFamilyType);
pRuntime->SelectF(MyObjectPointer,MyFamilyType); ??
That's right, it works the same as selecting it for an ordinary object type.
[quote:17wwbheq]
pRuntime->SelectF(MyObjectPointer,ADifferentFamilyType)
This is only valid if MyObjectPointer is a member of the family "ADifferentFamilyType", you cannot pick objects in types or families they're not a part of. The consequences of this are undefined.
[quote:17wwbheq]also, is there a way to add an object to a family via a plugin?
Sorry, this isn't possible.