@clement wrote:
i have a script written in V5 using a display conduit which does not run as expected in V6. My conduit draws an existing object (brep or mesh) using a special transform like below, and it culls all other objects in the doc while it draws:
e.Display.DrawObject(self.MyObj, self.XForm)
I do not want to apply that transform to the object itself, the object is only drawn transformed while the conduit runs. Compared to V5, where i can still access
self.MyObj
to get eg. the bounding box, i see that in V6, things changed drastically. If i query the bounding box while the conduit runs, it returns the bounding box as it appears in the conduit and not the bounding box of the original object. This did not happen in V5.Since i also do other things and eg. shoot rays on
self.MyObj
in order to display the results in the conduit, they all miss the object which is a serious problem. Changing the code to run in V5 and V6 would be quite painful.Could you tell why this changed and if this can be still fixed in V6 ?
thanks,
c.
Posts: 5
Participants: 3