Jump to content

How to redraw graphics window via para file during Run?


Recommended Posts

I am having some problems displaying graphics on PiWeb reports based on part size.

This is a parametric program.

I create my initial "CAD-Presentation" from the largest part, once I run the smallest part the graphic is out of position and usually cut off on the report.

(If I generate the graphic from the smallest part first, the largest part will be completely off screen).

I am leaning towards the graphic screen needs to be redrawn per the parameters loaded at run time. Like manually selecting:

Plan

...Advanced

......Parameter

(Select/open "Run.para" file)

(Click "OK" button)

Graphics redraws.

The end goal is to have the graphic on the PiWeb report the same size all the time and as large as possible.

Small part report.jpg

large part report.jpg

you could also try this block of code and modify the # value before : " / 10", even greater than 10 if needed.

warning, this is raw code being sent, but should be fairly harmless in this case..

 

executeCode("Zeiss.Calypso.Acis computeExtrema")
executeCode("Zeiss.Calypso.Acis zoom: 10 / 10")
executeCode("Zeiss.Calypso.Acis refresh")

 

  • Like! 1
×
×
  • Create New...