Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
tmathieson
in reply to: gcoombridge

Hi gcoombridge,

 

thanks so much for the reply.  it has helped, but still getting an error...so following your lead from above, i created these two lines of code to be sure my parameters exist and are correct...

 

MsgBox(Parameter(MakePath("SC-PRECAST:2", "SC-FOOTING - SIDE:1"),"TEST_5"))

MsgBox(Parameter(MakePath("SC-PRECAST:2", "SC-FOOTING - SIDE:1"),"SIDE_ANGLE"))

 

 

works fine!  windows pop up showing the values that exist in my component.  but... when i code like this, to pass the parameter from the assembly down to the component...

 

Parameter(MakePath("SC-PRECAST:2", "SC-FOOTING - SIDE:1"),"TEST_5") = ANGLE_SIDE
	Parameter(MakePath("SC-PRECAST:2", "SC-FOOTING - SIDE:1"),"SIDE_ANGLE") = ANGLE_SIDE

 i get....

 

Error in rule: FOOTING_UPDATE, in document: ASSEMBLY INSERT.iam

 

Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

 

i should probably mention that both the sub and the component have model states....

could it be something to do with the units? i am just passing a number, no 'deg' or 'rad' or whatever...

 

thanks again!!