Selecting solids for extrusion in Ilogic

Selecting solids for extrusion in Ilogic

Jeroen_M1990
Participant Participant
876 Views
3 Replies
Message 1 of 4

Selecting solids for extrusion in Ilogic

Jeroen_M1990
Participant
Participant

Hi everyone

 

I'm new here, been reading for a while but never posted.

 

Now I've run into a snag with an iLogic program I created. I created a multibody part and need to do a "simple" extrusion. The profile of the extrusion will not change, just a simple rectangle which is used to remove material from certain solids. I'm using a multibody part driven by iLogic which will be made into components afterwards.

 

Now when the position of the sketch changes, the solids that get cut change too. My problem is that I can't figure out how to set the solids that need to be cut. How do I access these parameters? I'm guessing it has to be done via the advanced API. I did some searching but found nothing. Anyone that can help me out?

 

Thanks in advance

0 Likes
877 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

The property you're looking for is called "AffectedBodies" you can find that property in the Extrusion definition.

You will set the affected bodies like any other selection set.

Hopefully this pushes you in the right direction I dont have them time right now to write up an example.

0 Likes
Message 3 of 4

Jeroen_M1990
Participant
Participant

I'm still not sure yet on how to do this. Will look into it a bit more, where is a good place to find all these functions? The inventor help is ok but it doesn't seem to contain all these advanced things. Or am I missing something? Right now I'm just going forward using what little experience I've with VB.

0 Likes
Message 4 of 4

Anonymous
Not applicable

Yeah, Sorry. I answered without being able to try the code first.

I also tried to get this working and could not.

I found this link which may have an answer hidden away in it.

 

http://adndevblog.typepad.com/manufacturing/2015/01/add-hole-in-multi-body-part-document.html

0 Likes