If we launch Rhino Inside AutoCAD, is the
RhinoDoc connected to the AppDomain of the AutoCAD application (A)?
So if the user were to open another AutoCAD application (B) - not another DWG/document in the same application - then the static call to
RhinoDoc.ActiveDoc would return a new
RhinoDoc instance within app domain B?
Similarly, if the user were to open the Rhino application separately,
RhinoDoc.ActiveDoc app domain is the Rhino application itself, so it wouldn’t return the
RhinoDoc created within app domain A or B?
Assuming the RhinoDoc is attached to the AppDomain, does this therefore mean if we call
RhinoDoc.ActiveDoc within the AutoCAD context, its guaranteed to return the Document instance attached to/running ‘inside’ AutoCAD?