Community
Hi,
How do I set a Named UCS (one that I've created and named it "BILLY") active in my document.
I've tried getting the active viewport and calling vpActive.SetUCS(ObjectId) But it doesn't seem to do anything. It always seems to be pointing to unnamed one.
Thanks.
NM found it..
Looks like what I was missing was the following:
pDoc.Editor.UpdateTiledViewportsInDatabase(); //Apply the changes to the database
...
vpActive.SetUcs(ObjectId)
...
pDoc.Editor.UpdateTiledViewportsFromDatabase(); //Push the changes from the database "Live"
Figured I should post it here in case others needed it