Reply

Update Object on Visible True False

I am setting a group's visible property to True/False from a Form button:

objGroup.Visible = True/False

 

No problem when setting to False - the group vanishes instantly.

However when setting to True the group does not appear without a manual zoom pan or fit.

I tried an ugly workaround of objDoc.ActiveSheet.Activate()

 

Not able to find a Update/Refresh/Regen method on the App, Draft Document, Sheet or the Group object itself.

 

Any help is highly appreciated.

 

~Tushar

1 REPLY

Re: Update Object on Visible True False

OK found it:

 

Dim objSWindow As SolidEdgeDraft.SheetWindow = objApp.ActiveWindow
objSWindow.Update()