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: 

Emboss File Name on Part

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
CAD-One
2660 Views, 6 Replies

Emboss File Name on Part

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 2020
Vault Professional 2020
AutoCAD 2020
6 REPLIES 6
Message 2 of 7
Curtis_Waguespack
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. Smiley Wink

 

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

 

 

Message 3 of 7
CAD-One
in reply to: Curtis_Waguespack

Great help. Thanks

C1
Inventor Professional 2020
Vault Professional 2020
AutoCAD 2020
Message 4 of 7
Mtywtts
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

Tags (1)
Message 5 of 7

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

Douglas DuPont
Inventor 2016 Pro, Vault 2016 Pro
Quadro M4000
Windows 10 64 Bit
Message 6 of 7

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

Message 7 of 7

I also want to do something similar. I want to emboss part number on to the beam assembly. I have created parameter but how to link that to part number?

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

Post to forums  

Autodesk Design & Make Report