I have the example working which will replace Bolts:
but swapping the code to replace nuts is giving me grief. How do you identify the content center paths?
ie I have tried:
replacer.Replace("nut:1", "Fasteners:Nuts:Hex", "ISO 8675 - M30 x 2DIN EN")
replacer.Replace("nut:1", "Fasteners:Nuts:Hex", "ISO 8675 - M30 x 2")
replacer.Replace("nut:1", "Fasteners:Nuts:Hex ", "DIN EN 28675 M30 x 2")
I posted a reply at http://forums.autodesk.com/t5/Autodesk-Inventor/Ch
The code should work on a custom CC library. Can you provide some details about the family annd member names in the custom library?
Although it's a custom library, are you using the parts as standard (the designer cannot modify an individual part file after he has placed it from the CC)?
I try to do a similar replace from content center but I keep getting an error that content center family is not found.
I have read all related posts and tried many things, im out of ideas.
I might do something entirely wrong or I might just have a small typo, but the result is still the same error.
Any help would be great. See attachment
Thanks in advance,
Seems to be nothing more then a typo.
What I did was to add the nut in the content center to favorites. This way you can right click and rename it.
Use this to copy the foldernames and the partname so you dont have any chance of a typo. Though I didnt see any typo, it works now.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register