- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can we add a specific bearing in inventor assembly thru' content center with iLogic.
Hi everyone,
I have a query,
How can we add a specific bearing in assembly thru' content center with iLogic.
I have a ref. code that i am using, please refer it.
Components.AddContentCenterPart("bearing_01", "Shaft Parts:Bearings:Roller Bearings:Spherical Roller Bearing", "SKF- with Cylindrical Bore", {"DESIGNATION", "SKF23222 CC/W33", "Diam", "110", "DD", "200", "B", "70"}, position := Nothing, grounded := False, visible := True, appearance := Nothing)
am i missing something in above.
Also, looking for option to autoupdate the size w.r.t. to other parts parameter.
Thanks in advance.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The easiest way to add the occurrence by code is to place it manually and use capture tool to capture the occurrence by add function. There must be an error in your add line.
Or if this helped you, please, click (like)
Regards
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I tried with this code and it is adding bearing with the name only, can you try the same and then modify this as per your requirement?
Components.AddContentCenterPart("bearing-01","Shaft Parts:Bearings:Roller Bearings:Spherical Roller Bearings","DIN 635 SKF- with Cylindrical Bore","SKF (22322 CC/W33)", DIN_635_SKF_with_CylPos)
If you want to add with size, make sure you write correct column names and family names as well. See below snip where I am adding Row no 6. SKF (22206 CC) with Inside and Outside diameter written in the code snippet.
Components.AddContentCenterPart("bearing-01","Shaft Parts:Bearings:Roller Bearings:Spherical Roller Bearings","DIN 635 SKF- with Cylindrical Bore",{"Size Designation","SKF (22206 CC)","Inside Diameter","30","Outside Diameter","62"},position := Nothing)
Hope this will be helpful.
Regards,
Dutt Thakar