Viewport update

Viewport update

Anonymous
Not applicable
618 Views
3 Replies
Message 1 of 4

Viewport update

Anonymous
Not applicable
Hi
Can anybody help me update the viewpoint of the active viewport ?

I have accessed the AcDbViewportRecord called *ACTIVE and modifed some values using setWidth(), setHeight() and setCenterPoint(). No changes appear to screen. It seems some kind of update or regen is missing.

Thanks
0 Likes
619 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
Hi!
It will not help much but...
There is method updateDisplay() in AcDbViewport class. But this method is called automaticaly when you close AcDbViewport object.

Best regards,
Aleksander Wons
0 Likes
Message 3 of 4

Anonymous
Not applicable
Hi belblid,

Try this after your vport calls!.

acedVportTableRecords2Vports(); //force update

Regards Gary,



wrote in message news:[email protected]...
Hi
Can anybody help me update the viewpoint of the active viewport ?

I have accessed the AcDbViewportRecord called *ACTIVE and modifed some
values using setWidth(), setHeight() and setCenterPoint(). No changes
appear to screen. It seems some kind of update or regen is missing.

Thanks Message was edited by: Discussion Admin
0 Likes
Message 4 of 4

Anonymous
Not applicable
It works fine. Thanks a lot

Salim
0 Likes