Message 1 of 3

Not applicable
10-04-2016
07:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
My Ilogic knowledge is basic, so I am probable doing something wrong that is obvious to you experts...
I want to select a line in a assembly document and get the length of the selected line. The line would be a model edge of a part in the top level assembly or a model edge of a part in a sub assembly.
So far I am selecting 2 points and trying to measure between them (ideally I would like to select a line)
Dim Point1 = ThisApplication.CommandManager.Pick(SelectionFilterEnum.KPartVertexFilter,"Select lenght start") Dim Point2 = ThisApplication.CommandManager.Pick(SelectionFilterEnum.KPartVertexFilter,"Select lenght end") dis = Measure.MinimumDistance(Point1, Point2) MessageBox.Show(dis, "Title")
Solved! Go to Solution.