Message 1 of 2
how to calculate the length of a 3D sketch using the ilogic rule
Not applicable
10-04-2018
01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have modeled 3D sketch and I want to calculate its length the rule I have does not count please help oDoc=ThisApplication.ActiveEditDocument oCompDef=oDoc.ComponentDefinition Szkic3D=oCompDef.Sketches3D.Item("Szkic 3D1”) For Each Element In Szkic3D.SketchEntities3D If Element.Type<>83937792 Then Dlugosc=Dlugosc+Element.Length End If Next MessageBox.Show(Round(Dlugosc*10,2), "Długosc szkicu 3D")
