Retrieve name for VISIBLE FEATURE CLASS . . .
2017-08-02-163627
All --
Within PREMIER, if there are two classes (lets say "GOOD" and "BAD"), if the CODE below is used to SHOW CLASS 1, is there a way to get the NAME of CLASS 1 ("GOOD" in this case)?
Thanks in advance.
-- Matt
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
All --
Within PREMIER, if there are two classes (lets say "GOOD" and "BAD"), if the CODE below is used to SHOW CLASS 1, is there a way to get the NAME of CLASS 1 ("GOOD" in this case)?
Thanks in advance.
-- Matt
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
With Measure.MeasurementsCommands.ShowClass(Nothing) .Action = McMeasurements.enumShowMeasFlags.smfShowAll .FeatureClass = 1 .Run(doc1) End With
0
Best Answer
-
Matt,
Here is the macro that prints name of the first class:Sub PrintClassName 'print name of the first class Debug.Print Mediacy.Addins.Measurements.McMeasurements.ThisAddin.Options.Classes(1).DisplayName End Sub
Yuri0
Answers
-
2017-08-03-133501
Yuri --
Super.
Perfect.
Thanks.
-- 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