I am trying to clear out all pvis in a profile, code is:
while (profUse.PVIs.Count > 0) { profUse.PVIs.RemoveAt(profUse.PVIs.Count - 1); }
seems like its the right approach, you cannot set the pvis collection to a new collection.
It catches every time though, does not matter how many pvis in the profile.
Seems I need some education on what you are alowed to do with pvi collections.
thx
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties
seems my old com code just deleted and added back to avoid the Autodesk imposed rules.
That worked with .net too.
internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties