Community
Hi, this is propably really easy, but I keep getting the error;
Rule Compile Errors in Rule2, in V CHAIR_Assembly.iam
Error on Line 13 : 'NewAssembly' is not declared. It may be inaccessible due to its protection level.
My code is
T = 30 Parameter("V CHAIR_backrest:1", "thickness") = T Parameter("V CHAIR_backsupport:1", "thickness") = T Parameter("V CHAIR_backsupport:2", "thickness") = T Parameter("V CHAIR_leg:1", "thickness") = T Parameter("V CHAIR_leg:2", "thickness") = T Parameter("V CHAIR_rib:1", "thickness") = T Parameter("V CHAIR_rib:2", "thickness") = T Parameter("V CHAIR_rib:3", "thickness") = T Parameter("V CHAIR_seat:1", "thickness") = T ThisDoc.Document.SaveAs(NewAssembly.iam,True)
Any help would be much appreciated.
Solved! Go to Solution.
Solved by rossano_praderi. Go to Solution.
Hi, i think this can be your solution:
NewFileName = ThisDoc.Path & "\" & "NewAssembly.iam" ThisDoc.Document.SaveAs(Newfilename,True)
Bregs
Rossano Praderi
You are welcome....