Autodesk Inventor Customization
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
now I did rename the hole feature could this be the reason it's not working.
Please mark this response as "Accept as Solution" if it answers your question.
James Letcher
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Here is a screen shot to show error
Please mark this response as "Accept as Solution" if it answers your question.
James Letcher
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Holes I would like to have count if active and remove from count if inactive
Please mark this response as "Accept as Solution" if it answers your question.
James Letcher
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hmmm..
Which line is Line 64 in your rule?
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
its the for each statement that you supplied..
Please mark this response as "Accept as Solution" if it answers your question.
James Letcher
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Could you post your entire rule ? I can't see why it wouldn't work.
Or even better you could post your model...
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Here is the model
Please mark this response as "Accept as Solution" if it answers your question.
James Letcher
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Im not sure why it didnt work first time, I re copied the code back in and now its working.
I also added a line that checks if the last char of the hole name is a number - if it is a number then it doesnt get added to the count.
Hope this works OK for you.
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Thats it great thanks...
Please mark this response as "Accept as Solution" if it answers your question.
James Letcher
2012 Factory Design Suite ( will not load 2013)
What happen to my Inventor :-(
Re: ilogic to count features
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Just guessing but you where probably just missing the "End If" statement right above the Line that says "Next HFeature". If you where wondering why it wasn't working the first time.
PS - Thanks for the link to this on my post.
If this response answers your question please click "Accept as Solution".


