Update Issue with POINTS from MANUAL TAG TOOL not RE-CLASSIFYING properly . . .
All --
I have an IPP 9.1.4 APPLICATION that has a little issue.
This APP works with the user to create and count points in two CLASSES. The first CLASS is C and is represented by a BLUE UP TRIANGLE. The second CLASS is P and is represented by a GREEN DOWN TRIANGLE.
I have created a routine that uses the following code to RE-TAG a C CLASS POINT as a P CLASS POINT if the user selects the point before triggering the routine
If I continue SELECT and RETAG, sometimes I'll retag a point that seems to trigger an update of that fixes all of the other points with their correct overlays.
Can someone please suggest a way to resolve this issue?
Thanks.
-- Matt
P.S. The FORUM is blocking my attaching the IQO file that contains the CLASSIFICATION otherwise I would do that to make duplicating this issue easier. -- MMB
I have an IPP 9.1.4 APPLICATION that has a little issue.
This APP works with the user to create and count points in two CLASSES. The first CLASS is C and is represented by a BLUE UP TRIANGLE. The second CLASS is P and is represented by a GREEN DOWN TRIANGLE.
I have created a routine that uses the following code to RE-TAG a C CLASS POINT as a P CLASS POINT if the user selects the point before triggering the routine
Private Sub button_RetagP_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles button_RetagP.Click
With Measure.MeasurementsCommands.Options(Nothing)
.ActiveClass = 2
.Run(ThisApplication.ActiveDocument)
End With
With Measure.MeasurementsCommands.ApplyClass(Nothing)
.Run(ThisApplication.ActiveDocument)
End With
End Sub
Everything works well except that often the C BLUE UP TRIANGLE is not replaced by the P GREEN DOWN TRIANGLE. The DATA TABLES are right but the IMAGE shows the wrong overlay.If I continue SELECT and RETAG, sometimes I'll retag a point that seems to trigger an update of that fixes all of the other points with their correct overlays.
Can someone please suggest a way to resolve this issue?
Thanks.
-- Matt
P.S. The FORUM is blocking my attaching the IQO file that contains the CLASSIFICATION otherwise I would do that to make duplicating this issue easier. -- MMB
0
Best Answer
-
Hi Matt,
That is a refresh problem in 9.1.4, it will be fixed in the next version. You can force Refresh in the current version as a workaround. The macro below will update tags properly:Public Sub Retag With Measure.MeasurementsCommands.Options(Nothing) .ActiveClass = 2 .Run(ThisApplication.ActiveDocument) End With With Measure.MeasurementsCommands.ApplyClass(Nothing) .Run(ThisApplication.ActiveDocument) End With 'refresh graphic elements ThisApplication.ActiveImage.MeasurementsData.Refresh End Sub
Regards,
Yuri0
Answers
-
Yuri --
Thank you for your response.
I've added'Refresh graphic elements ThisApplication.ActiveImage.MeasurementsData.Refresh
to the RETAG ROUTINES within the APPLICATION and this issue has been resolved.
Thanks again.
-- Matt
0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions