Get Drawing Scale for mult. Sheets and Model files
I'm asking for a work around, because Toolkit will not work proper in the following scenario (my guess).
You have ONE Drawing with 2 Models
BOX.PRT is active at sheet 1
and
CYL.PRT is active at sheet 2
You get the scale with: ProDrawingScaleGet(drawing,solid,sheet,*scale)
If sheet 1 is active, the function ProDrawingCurrentsolidGet() will return BOX.PRT, and now I have the Drawing, the Solid and the Sheet to get the scale, so far - so good.
But if I activate sheet 2 via Toolkit, ProDrawingCurrentsolidGet() will return BOX.PRT again which is not correct.
There is no function to Update the Model Tree. The Drawing tree can be updated but the Model Tree will not reflect the change if I switch to Sheet 2 and display the Model Tree of the CYL.PRT.
Do I miss something here, or is there a trick. I tried ProDwgSheetRegenerate, Refresh Wind, Solid Model Tree, Regen and so on. But the call to ProDrawingCurrentsolidGet() will always return the model for the sheet number before changing it.
Does someone has a work around, to get the displayed scale for each sheet of a drawing in this scenario?

