prajzsolid
Mechanical
Hello, I am working on a code to create a rectangular pattern on a user selected surface.
Currently the code allows the user to pick a face/surface and creates the geometry for the Center of Gravity i.e. the point.
I want to use this point to create a rectangular pattern using this point and a defined direction. I believe the code is something as follows
Set rectPattern1 = hybridShapeFactory1.AddNewSurfacicRectPattern(anyObject1, 2, 1, 20.1, 20.1, 1, 1, reference111, reference222, True, True, 0)
where anyObject1 is the point and the references are directions.
But i am not able to execute this line, and there are not many examples of the surfacic Pattern. Please Help
Currently the code allows the user to pick a face/surface and creates the geometry for the Center of Gravity i.e. the point.
I want to use this point to create a rectangular pattern using this point and a defined direction. I believe the code is something as follows
Set rectPattern1 = hybridShapeFactory1.AddNewSurfacicRectPattern(anyObject1, 2, 1, 20.1, 20.1, 1, 1, reference111, reference222, True, True, 0)
where anyObject1 is the point and the references are directions.
But i am not able to execute this line, and there are not many examples of the surfacic Pattern. Please Help