- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to make a template assembly for Sheet Metal Shim Packs used in Bolted Connections.
Our Custom sheet metal components, by company SOP, are created from our Content Center.
I have the user describe the dimensions of the full shim pack & a rule uses some case statements to pick the row in the sheet metal table that contains the most appropriate gauge thickness for the shim in question, then assemble them all.
When using the Components.AddCustomContentCenterPart() command, I specify the custom parameters by which to call the row I need for each shim, but the error I get back simply says, "The Parameter is Incorrect."
The error makes reference to the AddCustomContentCenterPart command's line, instead of the line on which the incorrect parameter sits, so I don't know what to correct.
I'm including the snippet below:
Components.AddCustomContentCenterPart(
"ThickShim:1", 'Component Name
"Steel:Plate - Bars", 'Content Center Path of Desired Part Family
"Sheet and Plate (Imperial)", 'Family of Desired part
{"THICKNESS" 'CC Column set up to index rows by Decimal inch thicknesses' , Number_Thick 'Variable of Type DOUBLE pre-calculated to select the desired row. If removed, much more serious errors occur.' }, {"WIDTH", Pack_Width, "G_L", Pack_Length}, 'Custom parameters used to control sizing of the shims
position := Nothing, grounded := False, visible := True, appearance := Nothing) 'I don't yet fully understand how these work, but I know that if I remove them, the errors get worse.
Any input is bound to be helpful!
Solved! Go to Solution.