- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
>> note I think I have found a solution see bottom ?
Hi, I am currently using code like below to create planes for sketches that are in the XY plane and offset on the Z axis, I have a points array which I use for the sketch in which all of the Z values are on the created XY plane
planesObj = hullComponent.constructionPlanes
planeInput = planesObj.createInput()
xyPlane = hullComponent.xYConstructionPlane
planeInput.setByOffset(xyPlane, offsetValue)
plane0 = planesObj.add(planeInput)
I now need to perform a similar task except the planes offset along the Z axis will be tilted as per below
I have not been successful so far in the API doing this so if someone can point me to an example or other help it would be appreciated. I can obviously create the plane manually by creating a plane through three points (all of the points in the array to draw line in the tilted plane) but I need to perform this in the api.
Thanks in advance. Khim
Ok I think I have found an answer below ?
planeInput.setByThreePoints
Solved! Go to Solution.