Hi,
I'm new to ETO/Intent (1week) and so this may seem like a rookie question:
I'm creating an assembly with a wall in it. That wall can have any number of windows with a frame surrounding them. I'm using a preCreateSelf method to place the window frame and constrain it. However I also want to use the frame part sketch to cut the aperture in the wall. I'm trying the following in the design the precreate calls:
Child ass_cut As :IvAssemblyExtrudeFeature sketchPart = WINDOW sketchName = "CUTOUT" extentDirection = :Symmetric throughAllType = :throughAll participants = WALL_REF1 End Child
and getting an error (see attached):
Managed exception in function 'iv_ensureAssemblyExtrudeFeatureExists': Error in creating assembly extrude feature 'SMART_WINDOW_2.ass_cut' : The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
I'm hoping that its a simple mistake on that part but all help is much appreciated, I'm also open to better ways of doing this like calling an extrude feature through the API.
E-mail: chris (dot) atherton (at) symetri (dot) co (dot) uk
Many Thanks
Chris
Try this:
Child ass_cut As :IvAssemblyExtrudeFeature sketchPart = WINDOW sketchName = "CUTOUT" extentDirection = :Symmetric throughAllType = :throughAll participants = {WALL_REF1} End Child
Hi,
I gave that code a try however it still errors. I'm guessing that the error must be elsewhere then?
Many Thanks
Chris
the code was correct .... it works correctly once I upgraded to build 96
Can't find what you're looking for? Ask the community or share your knowledge.