IMAGE-PRO equivaltent to IMAGE-PRO PLUS MSR FILE . . .
2020-10-25-144824
All --
I have a customer that is working to upgrade an IMAGE-PRO PLUS MACRO to an IMAGE-PRO APP.
The IPP MACRO uses the MSR FILES to guide the USER through the collection of measurements. The MSR FILE directs IPP through activating the right tool and names the measurement.
If I remember correctly, this functionality was made by saving a the IPP version of a DATA TABLE and then loading it in a TEMPLATE MODE.
Is there a similar tool in IP 10?
Thanks.
-- Matt
0
Answers
-
Matt,
MSR file contains manual measurements. In IP 10 you can load manual measurements from IQM file (Data Table, Load button).
In IP 10, you can edit any loaded measurement feature (Line, Point,...) and change start/end locations, preserving old names.
Another option is to record a macro adding manual measurements, and then activate Interactive property and define Prompt, like this:Public Function NewMacro12() As SimpleScript NewMacro12 = New SimpleScript Dim image1, meas1, doc1 With Application.DocumentCommands.ActiveImage(NewMacro12) .Run(image1) End With With Measure.MeasurementsCommands.Add(NewMacro12) .MeasurementType = McMeasurements.enumMMSTypes.mmtsLine .Prompt="Please draw Line 1" .SnapFeature = False .Interactive = True .Run(image1, meas1) 'set name, if necessary If meas1 IsNot Nothing Then meas1.Name="Line 1" image1.MeasurementsData.BeginUpdateBlock(False)'refresh End If End With End Function
Yuri0 -
2020-10-27-074743Yuri --Thank you for your response.I am aware that an IMAGE-PRO IQM FILE can be recalled but this user has been using IMAGE-PRO PLUS and the MSR FILE FUNCTIONALITY for years. They like being able to click the landmarks for NEW LINES and NEW ANGLES that they measure on a clear image. Working to grab the landmarks for existing LINES and ANGLES is counter to their workflow.I have implemented something similar to the CODE in your NewMacro12 that gives them the TOOLS they need and changes the FEATURE NAME as appropriate.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