Inventor General Discussion

Inventor General Discussion

Reply
Mentor
CAD-One
Posts: 765
Registered: ‎10-26-2008
Message 1 of 6 (709 Views)
Accepted Solution

Emboss File Name on Part

709 Views, 5 Replies
01-11-2012 06:04 AM

In a part, I create a sketch, add annotation Type in the file name. Then create an Emboss feature using this sketch.

 

How can I add the file name property to the text. I want the the emboss to update to new file name if I rename the file.

C1
Inventor Professional 2015
Vault Professional 2015

Hi CAD-One,

 

Mark Randa wrote some iLogic to do this (http://opendesignproject.org/).

 

I'm having some trouble getting his link to work, but I've attached an example file using his code, as well as a link to a video of it being set up: http://youtu.be/Y5a8IYyxFLo

 

In the example, you can change the part number iProperty and then save the file to run the ilogic rule. The attached file was created in Inventor 2010, in case some one with an older version is interested also.

 

Also, I'd look for this to be do-able "out of the box" in a future release of Inventor. :smileywink:

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

 

*Expert Elite*
Curtis_Waguespack
Posts: 3,000
Registered: ‎03-08-2006
Message 2 of 6 (695 Views)

Re: Emboss File Name on Part

01-11-2012 07:07 AM in reply to: CAD-One

Hi CAD-One,

 

Mark Randa wrote some iLogic to do this (http://opendesignproject.org/).

 

I'm having some trouble getting his link to work, but I've attached an example file using his code, as well as a link to a video of it being set up: http://youtu.be/Y5a8IYyxFLo

 

In the example, you can change the part number iProperty and then save the file to run the ilogic rule. The attached file was created in Inventor 2010, in case some one with an older version is interested also.

 

Also, I'd look for this to be do-able "out of the box" in a future release of Inventor. :smileywink:

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

 



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Mentor
CAD-One
Posts: 765
Registered: ‎10-26-2008
Message 3 of 6 (648 Views)

Re: Emboss File Name on Part

01-13-2012 07:51 AM in reply to: Curtis_Waguespack

Great help. Thanks

C1
Inventor Professional 2015
Vault Professional 2015
New Member
Mtywtts
Posts: 1
Registered: ‎01-30-2012
Message 4 of 6 (499 Views)

Re: Emboss File Name on Part

10-23-2012 08:55 AM in reply to: CAD-One

I was able to get this to work on an ipart that is vaulted. What isn't working for me is running the rule so the appropriate text is visible depending on which instance of the ipart is placed into an assembly. I would think that there should be some way to make the rule run when each of the ifactory parts are generated?

 

Marty Watts

Becker/SMC

 

Inventor 2012

Mentor
Doug_DuPont
Posts: 222
Registered: ‎09-23-2008
Message 5 of 6 (177 Views)

Re: Emboss File Name on Part

07-03-2014 07:43 AM in reply to: Curtis_Waguespack

I don't see a easy way of doing this yet. Am I wrong?

Douglas DuPont
Inventor 2013
GeForce GTX 580
Windows 7 64 Bit
*Expert Elite*
Curtis_Waguespack
Posts: 3,000
Registered: ‎03-08-2006
Message 6 of 6 (164 Views)

Re: Emboss File Name on Part

07-03-2014 08:35 AM in reply to: Doug_DuPont

Hi Doug_DuPont,

 

Starting with Inventor 2013 you can create a user parameter and then use that parameter in a sketch text field.

 

So the steps would be something like this:

  1. Go to the Manage tab > Parameters button.
  2. Create a User Parameter as a Text type parameter.
  3. Start a new sketch.
  4. Create a Text object in the sketch.
  5. Change the Source dropdown from Model Parameters to User Parameters.
  6. Select the Text type User Parameter you created in step 2.
  7. Click the "Add Parameter" button to push the parameter to the text field.
  8. Click OK to create the text field.
  9. Create an Emboss of Extrude feature using the text.
  10. Change the User Parameter by using Manage tab > Parameters button.

         > OR <

    Create some iLogic code to:

    • change the user parameter value based on your input
    • or to change the parameter based on a list of values
    • or to always be the File Name
    • or to always be the Part Number

 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com



  solution.png  Did you find this reply helpful ? If so please use the Accept as Solution or  Kudos button below.





Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.