Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

@dgreatice The autoproject edges won't work for what I'm trying to accomplish. I'll try to explain our process. All of our designing is done in Inventor. After the design is done we save all of the parts as 2D DXF files to prepare for cutting on a CNC Router. We use a program called RouterCIM which uses layers from AutoCAD to determine what bit to use as well as speeds, feeds and machining type such as pocket, mill or outside cuts. All of our layers are set up with a description and then a number to make each layer name unique. We have a sketch for each type of operation, for example the outside shape would be in its own sketch and say a pattern of holes would have their own sketch. I have ilogic code that when a part is placed in a drawing it finds all the sketches that have the layer numbers in the name and assigns the proper layer to each sketch. We can't use autoproject when we create a new sketch because then the lines for the outside shape would be in the same sketch as any other geometry like holes which would get a different layer for drilling. Right now we can use some of the sketches used to create the solids or cuts and just name them accordingly but if we have a pattern of holes that changes from part to part there is no sketch except the parent. We thought we could just create a separate sketch that produced the same spacing as the pattern itself but Inventor has a problem with this when you make a sizable change to the base part sometimes dimensions in a sketch without a feature will flip and the sketch representing the hole pattern will be in the opposite direction as the actual pattern of holes. Another area that is a problem is say we have a tab in one part and need to remove material from another part that the tab goes into we do a "Copy and Combine" to remove that material but since there is no sketch there is nothing for my code to look for to apply the correct layer. I'm not sure that what I'm trying to accomplish here will resolve that last issue but one step at a time. I hope this explains a little better what I'm trying to accomplish.