Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic Feature Activation issue

1 REPLY 1
SOLVED
Reply
Message 1 of 2
zzachow3
196 Views, 1 Reply

iLogic Feature Activation issue

Hello all!

I've been running some pretty simple code that will toggle a feature based on a t/f variable in the code. The problem is that this morning, after I moved my EOP marker to add a filet onto the part, when I moved the EOP back to the bottom, the features are now permanently on, even when the code should be turning them off.

Feature.IsActive("s1_bend1_inv")=tf_s1_bend1_inv
Feature.IsActive("s1_bend2_inv")=tf_s1_bend2_inv
Feature.IsActive("s1_bend1")=tf_s1_bend1
Feature.IsActive("s1_bend2")=tf_s1_bend2

This the code I've been using. It has worked up until this point without fail. Now, even when I replace the tf variables with False, the features will not turn off. Does anyone have any idea what is going on here?

 

1 REPLY 1
Message 2 of 2
zzachow3
in reply to: zzachow3

Alright I figured it out.

So what happened was that somehow, when I moved the EOP marker, it somehow associated two of the bends with another bend, meaning that it could only be active if the other two bends were active as well. I'm not sure how this happened, but I had to go back and build a new sketch and remake the feature from that. It is working now.

On the plus side, I managed to keep the swearing at my computer to a minimum!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report