Message 1 of 3
Select a face to define as pattern orientation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was hoping that when using iLogic to add a pattern that I could use the Command Manager to choose a flat face to define my pattern direction like so:
Patterns.AddRectangular("RectPatternName", "component name", 3, 5 in, Nothing, ThisApplication.CommandManager.Pick(SelectionFilterEnum.kPartFacePlanarFilter, "Select a flat face."), columnNaturalDirection := True)
But this gives me an error unfortunately. "Conversion from type "FaceProxy" to type string is not valid.
Reason for doing this is because I dont know the axis direction at the time of running the code and it may not be in any XYZ orientation. So choosing a face at the direction would be easier. Any thoughts?
Autodesk Certified Professional