gile and kaefer understand all that smart people stuff with views, transformation, ucs, etc..... so hopefully they will drop in and give you a good answer but are you trying to use one from a Named View?

Here's what I'm trying to do if I were doing this manually in the editor. Switch to southeast iso view, change ucs to view, draw MLeader. I'm trying to append this MLeader to modelspace in that ucs while not having the drawing open in the editor.

Yes. I meant ReadDwgFile().

UcsTableRecord and ViewTableRecord are all tied to the Editor. So, if you don't have a document in the Editor you can't use that convention.

Thank you kaefer, once I have the Matrix3d object how do I apply it to the object I'm appending?

Is there a way to get the toXAxis and toYAxis vectors without hard coding them as I've done here? I was able to get these vectors by just setting the UCS in AutoCAD and checking the System Variables UCSXDIR and UCSYDIR.

Is there a way to get the toXAxis and toYAxis vectors without hard coding them as I've done here? I was able to get these vectors by just setting the UCS in AutoCAD and checking the System Variables UCSXDIR and UCSYDIR.

Where do you wish to get the point and vectors from? If it's not a named UCS, and not the Current UCS, you could try to derive them from the CoordinateSystem3d of the active ViewportTableRecord, if the latter has an associated UCS. There should be a more direct way to do it than this: