I can't figure out the error in the rule.
Someone can help to understand.
I can not find the error.
Thank you!
Solved! Go to Solution.
Solved by iva.btblan. Go to Solution.
I cant open your model (other version) but what i understand from the pdf is that you want to update the parameters in the model 09.04.00100:1 from a rule in the assembly. In that case you need to turn around the statements in your code.:
Parmeter("09.04.00100:1", "Thickness") = Espessura Parmeter("09.04.00100:1", "Comprimento") = Comprimento
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
I made the changes.
The problems with the thickness I can not solve.
I'm sending the pictures to understand better.
Can you help me?
sry thickness parameter cant be edit directy. but with the following code it should work:
Dim doc As AssemblyDocument = ThisApplication.ActiveDocument Dim occ As ComponentOccurrence = doc.ComponentDefinition.Occurrences.ItemByName("09.04.00100:1") Dim partDoc As PartDocument = occ.ReferencedDocumentDescriptor.ReferencedDocument Dim sheetmetalDef As SheetMetalComponentDefinition = partDoc.ComponentDefinition sheetmetalDef.ActiveSheetMetalStyle.Thickness = Thickness
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
Thank you for your attention!
I performed according to orientation.
Going a problem and I can't solve it.
You can help me. Again?
try this: (i changed the variable thickness to Espessura)
Dim doc As AssemblyDocument = ThisApplication.ActiveDocument Dim occ As ComponentOccurrence = doc.ComponentDefinition.Occurrences.ItemByName("09.04.00100:1") Dim partDoc As PartDocument = occ.ReferencedDocumentDescriptor.ReferencedDocument Dim sheetmetalDef As SheetMetalComponentDefinition = partDoc.ComponentDefinition sheetmetalDef.ActiveSheetMetalStyle.Thickness = Espessura
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com
Excellent. Worked.
Thank you!
Without your help, you'd never make it.
Why is this message sruge?
What is the best way to control 09.04.00012?
Thanks for helping.
Please provide non confidential data and steps to reproduce the scenario.
Thanks and regards,
Yes, you can send files. Make sure that files are non confidential.
Thanks and regards,
I managed to solve the problem!
Thank you for your attention.
I am doubtful about another matter.
I will be shipping soon.
How do I warn you?
Can't find what you're looking for? Ask the community or share your knowledge.