cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic Content Center Change Size Snippet

iLogic Content Center Change Size Snippet

I believe it would be very helpful and useful to have an iLogic Snippet available to change the size/row of a content center part in an assembly as well as a Snippet to replace a content center part with one from a different family (i.e. Bolts, Washers, Nuts, etc...)

 

Maybe something like?: 

Component.ContentCenterChangeSize("iComponentName:1", "RowPartNumberName")

and 

Component.ContentCenterReplace("iComponentName:1", "FamlyName" "RowPartNumberName")

 

Thank you.

14 Comments
Anonymous
Not applicable

I would like the possibillity to replace Content Center Parts with iLogic. A solution can be found here in the discussion groups, but this involves a lot of code.
And it only works if not the use has changed his language settings in the Place from CC dialog.

I would like a "native" iLogic command for this purpose.

Anonymous
Not applicable

It would be good to be able to access the Content Center databases using iLogic the way that you can with iParts or Excel. For instance, in a rule you could tell a particular family to change size based on the value of a variable.

Anonymous
Not applicable

I have posted a few times about this issue hoping somebody would know a workaround to the known issue of bolted connections not updating bolt lengths. Since then I have tried many workarounds, even so far as to create my own custom centent center and create each fastener as an individual assembly.

 

I have since realized that I probably dont even want to use the bolted connection tool for my uses but I still need to change the size of bolts in different applications. There is currently no code snippet in iLogic to do this. I have had people send me large strings of API coding that apparently work but everything has to be perfect such as file names. I am not advanced enough to even want to try these API codes. 

 

Anyway my point is that there should definitely be a snippet available to at least simply change the length or diameter of a bolt.

 

Thanks

Sandro

tmuel
Advocate

Agreed!

 

There was one developed in 2012 by Mike Deck, "ContentCenterReplace.iLogicVb". Unfortunately it is no longer working reliably. Apparently due to issues in windows.

http://forums.autodesk.com/t5/inventor-customization/change-size-content-center/m-p/6815669#M69445

 

This is a huge need that I have seen at many companies that use iLogic. The company I am currently working with has been maintaining two sets of standards, one in Content Center, and one as iParts. I would like to merge and use Content Center, but cannot due to this because Inventor does not currently have this capability.

 

Regards,

 

Tim

 

 

skatzY7HV8
Enthusiast

I am amazed that this functionality does not yet exist. I guess I will keep my nuts and bolts I want to use iLogic with as iParts and not put them into content center.

jingyi.liu
Alumni

Hi

Thanks for your feedback, Inventor 2019 supports to add component from Content Center, in other word, your request has been implemented now. Please refer to below image.

Place from CC.png

 

Regards,

Jingyi

tmuel
Advocate
Yes, and I have tested it and it is Exactly what I needed! It works very
well and is surprisingly fast.

Thank you!

Regards,

Tim
jingyi.liu
Alumni

@tmuel, Glad to know it works very well.

 

Thanks,

Jingyi

inv.ideareview
Autodesk
Status changed to: Implemented
 
fsanchou
Advocate

Hi @jingyi.liu , @inv.ideareview 

 

How can we add/update a custom content center part saved in workspace (not in conter center folder) with a (many) custom(s) parameter(s)?

 

Thanks

JaneFan
Autodesk

Hi @fsanchou , 

 

Components.Add() can be used in that case since custom content center part is actually a saved file in local folder. 

ss.png

Anonymous
Not applicable

As implemented, does this feature work for changing custom parameters, like the length of a structural steel member, or can it only be used to change rows where every possible variation in the family is explicitly listed out? At our company we are currently running Inv. 2018 trying to automate a lot of our design changes which is beginning to push us away from the content center because the iLogic is much easier without it at this point.

tmuel
Advocate

Hi@Anonymous, I do not see a way to specify custom parameter values (not predefined in the table) for a Custom Content components (like you mention length of a structural steel member). I think the point that @JaneFan was making is that because it is a CUSTOM Content Center file, with a custom "Length" parameter defined during file generation - the file is saved in the workspace and editable like any other part file. It is handled as a regular part - using the Add Component, NOT the Add Content Center Part function. So I think you would need to generate the file first and then trigger any parameter value changes the way you would any other part file. 

 

Here is an example of a custom steel channel, with a custom length parameter and a standard Content Center bolt, which all parameters are defined as iterations in the CC Database. When the iLogic rule editor is used to capture the state of the components it automatically uses the correct function for each component.

iLogic Capture.png


Anonymous
Not applicable
can you please provide a sample code to change the size of content center part with reference to user parameter, say for example i need to change the size of the bolt from CC using my user parameter.

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

Submit Idea