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: 

Fractional length for std Content Center parts

55 REPLIES 55
SOLVED
Reply
Message 1 of 56
Winks87
5206 Views, 55 Replies

Fractional length for std Content Center parts

Has anyone figured this out?  This would be for standard, not custom cc parts.  I read that you can save a cc part file as a template with the G_L parameter set as fractions, and then use it to replace the family template in cc, but that doesn't work (or I'm doing it wrong).  It worked once, then stopped?  I know there has to be a way of doing this.

I tried exporting values from cc as custom iProps, then tried to populate description iProp with these, but that doesn't work.  The description iProp has to come directly from cc table I think.

Example: I want L's to have description: L2 x 2 x 3/16 x 2'-0 1/2"

 

Any ideas?

Inv 2013, Vault 2013 basic, Vaulted CC, I have admin rights.

James Winkler
55 REPLIES 55
Message 2 of 56
Winks87
in reply to: Winks87

Anyone?  Autodesk?

James Winkler
Message 3 of 56
LT.Rusty
in reply to: Winks87

Okay, this is actually a REALLY long and involved process to do, and it's going to require you to create your own custom CC libraries, and then you're going to need to do the save as template thing as well.  This process is NOT documented by Autodesk in any way, shape or form that I am aware of, and it took me a couple solid weeks of searching through blogs and the help files to get all the disparate pieces to come together and make it work the way that I wanted it to.

 

 

First thing, do you know the difference between expressions used in an iPart table and expressions used in iProperties?  That's key.

 

 

Once you've created your custom CC library - and for this I just copied all the structural shape libraries to new libraries under my company's name - you're going to need to edit the table for it. 

 

My company uses Project.Description for the part description.  Inventor defaults to use ... I think it's the family name in that field?  You'll need to create a new column, which in my case I entitled "description."  Right click on the column header and edit the column properties in a manner similar to what I've shown here:

 

CC-descriptionfield.JPG

 

 

Note the format that I've got the expression in.  This is the format that iProperty expressions use.  The CC table will not recognize it as an expression, and will handle it as straight text.  When the part is generated, this text will be dropped into the iProperty Project.Description, where it will be recognized as an expression and evaluated as such. 

 

(Also, I should perhaps mention that this custom CC family is based on the ANSI L (Unequal Lengths) table, and other families may have somewhat different table contents and variables used.)

 

Once you've fixed all this stuff, click OK however many times and back out of the content center editor, and open up a part from this family with Open from Content Center.  Make sure you open it as custom, and remember where you saved your file to. 

 

Now that your part is open, open up the parameters menu.  It will look almost, but not quite exactly, like what I've got here.  (I'm still using something based on ANSI L (Unequal Lengths, and in this case the size is 3 x 2 x 1/4 angle, 36-1/8 long.)

 

CC-editparameters.JPG

 

 

Notice the parameters that I've got marked as KEY and EXPORT.  Mark those same parameters, or any others that you want to have show up in your BOM.

 

Then, one by one, you're going to right click on each parameter and open up CUSTOM PROPERTY FORMAT.  Edit the options to look like this below picture.  (I think you can also click "apply to existing comparable parameters and it will change all of them at once, but I'm set in my ways and usually do each one in turn so that I can be sure it got done right.)

 

CC-custompropertyformat.JPG

 

 

 

Click OK however many times and get back to your part, then open up the iProperties.  Check the CUSTOM tab, and it should look like this:

 

CC-iproperty-custom.JPG

 

 

 

Now click over to the PROJECT tab, and it should look more or less like this:

 

CC-iproperty-project1.JPG

 

 

 

Note the "Fx" button next to the description field.  This shows that the DESCRIPTION iProperty is an expression, and the results shown are the results of evaluating that expression.  If you click the Fx button, you'll see the expression that is being evaluated, which should be what you put in your column in the family table.

 

(There's one other change that I'd make at this point, and that's the default BOM quantity.  You don't have to do it, but if you don't then you'll find a few unpleasant surprises in your BOM and Parts Lists.  Go to the TOOLS tab, open up DOCUMENT SETTINGS, then the BILL OF MATERIALS tab, and change the BASE QUANTITY to EACH.  Now, when you do a parts list, you'll see that you'll have Qty 2 of Angle, 2 x 3 x 1/4 x 24-1/2 and Qty 1 of Angle, 2 x 3 x 1/4 x 26, rather than Qty75" of *varies*.)

 

Okay, close out of all the iProperty windows, and save your file again.  You're almost done, but there's one important step left.  Right now, you've made some changes to the part - those Custom iProperties generated from Parameters - that are not going to be reflected in new parts generated from this CC family.

 

Go back to the content center editor, find the family that you've been working with, and right click on it.  Choose REPLACE FAMILY TEMPLATE.  Navigate to the part that you've been editing, and pick that.  Assuming that you've done everything right, you should now have fractions and whatnot in your iProperties, BOMs, Parts Lists, etc.

 

 

 

If you have any more questions, please feel free to ask me.

Rusty

EESignature

Message 4 of 56
cbenner
in reply to: LT.Rusty
Message 5 of 56
LT.Rusty
in reply to: cbenner


@cbenner wrote:

Wow, that is involved.  I think I'd just accept the decimal units and call it Miller time.  Smiley Very Happy



I probably would have too, but delaying Miller time for a little bit to figure out how to do this once means that in the future I can get to Miller time early a lot

 

Also, I really hate setting up all my parts and then editing the BOM and then doing the drawings and then finding out that there's changes that need to be made and then having to go back and double check all the BOM entries to make sure that I updated everything.  Doing this means that I can just do Replace from Content Center and all the BOMs are automatically updated and I don't have to worry about making sure that SKU's, lengths, etc. all agree with the actual parts.  🙂

Rusty

EESignature

Message 6 of 56
jaybear
in reply to: LT.Rusty

Thanks for posting this.  I've updated all of my structural steel with your method and it works great.

 

Message 7 of 56
Winks87
in reply to: jaybear

LT Rusty, your the man.  Tried something similiar to this, but was unsuccessful.  I will try applying this as soon as I have time.  Thanks again!

James Winkler
Message 8 of 56
OdaiSwinger
in reply to: Winks87

How does this work with Vault?

 

I got the project.desciption to update on the part I edited.  That worked awesome, but I can't get new parts to have the persisted keys to populate for new parts.

 

Help.

Message 9 of 56
OdaiSwinger
in reply to: Winks87

Did you ever get this to work with Vault?
Message 10 of 56
LT.Rusty
in reply to: Winks87

After you set the parameters for export and do the stuff in the parameter formatting window, save the part and then make sure you go back to the content center editor and replace the family template.  Then the edits that you did should populate through everything else in that family if you insert a part or something.

Rusty

EESignature

Message 11 of 56
LT.Rusty
in reply to: OdaiSwinger

As far as Vault goes, I never tried.  I have tried - thus far successfully - to avoid using Vault.  Unfortunately, my company just spent 6 figures on Vault Collaboration ... so I suspect my days of avoidance are coming to a rapid end.

 

Should be pretty much the same, though.  You'll likely need administrative privileges in Vault, though, to edit the content center libraries.

Rusty

EESignature

Message 12 of 56
OdaiSwinger
in reply to: LT.Rusty

I restarted vault and inventor and it worked great.

Thanks again.

We have Vault and I was trying to utilize content center to get it to display our standards.
Message 13 of 56
jw3805
in reply to: LT.Rusty

Im trying to employ this solution but i get to the Custom Properties part and when i change from decimal to fractional i get no options for precision. Any idea why? Attached is what i see.
Message 14 of 56
jw3805
in reply to: jw3805

Forgot the attachment.

Message 15 of 56
LT.Rusty
in reply to: jw3805

uhhh ... lolwut?  I've never seen a message like that.

 

Attach the part, I'll take a look.

Rusty

EESignature

Message 16 of 56
jw3805
in reply to: LT.Rusty

Thanks, here is the part.

Message 17 of 56
LT.Rusty
in reply to: jw3805

Which parameter were you working on?

Rusty

EESignature

Message 18 of 56
jw3805
in reply to: LT.Rusty

NLG

Message 19 of 56
LT.Rusty
in reply to: jw3805

Not sure what's going on for you ... fractional precision works for me on your part?  What version of Inventor are you using?  I know it's something prior to 2013 at a minimum ...

 

 

 

Capture.JPG

Rusty

EESignature

Message 20 of 56
jw3805
in reply to: LT.Rusty

Using 2012

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

Post to forums  

Autodesk Design & Make Report