Hi to everyone
I'd like to ask if it's possible to read a custom property value from main assembly in to sub assembly
Thank you for your time
Regards
Kostas
Hi to everyone
I'd like to ask if it's possible to read a custom property value from main assembly in to sub assembly
Thank you for your time
Regards
Kostas
Hi Deepak
Thank you for your answer,
but i don't know about the macros,
and i think this is for more advance users than me, which i am a simply designer.
Is there any possibility to help me more ?
Thank you for your time
regards
Kostas
Kostas Stergiopoulos wrote:
but i don't know about the macros,
and i think this is for more advance users than me, which i am a simply designer.
Is there any possibility to help me more ?
I'll try to put something soon. Can you give more details on which property you want to copy over? And is that a custom or config property?
Hello,
If the assembly's custom property can be made into a global variable then this may be possible using exported/imported equations.
If so:
I hope this helps.
Kevin
Hi Kevin
Thank you very much for your answer.
I followed your instructions step by step but when i importing the GV into sub assembly equation table ,it's give me an error about this.
Am i doing something wrong? Please correct me
Thank you for your time
PS I send a screenshot (scr21) to see it
Kostas Stergiopoulos wrote:
Hi Kevin
Thank you very much for your answer.
I followed your instructions step by step but when i importing the GV into sub assembly equation table ,it's give me an error about this.
Am i doing something wrong? Please correct me
Thank you for your time
PS I send a screenshot (scr21) to see it
Hello,
I don't know why your workflow didn't complete, but here is mine:
Equations dialog in assembly "FakeFrameAssy.SLDASM", create a global variable:
Custom properties dialog in assembly "FakeFrameAssy.SLDASM", create a custom property linked to the global variable:
Equations dialog in assembly "FakeFrameAssy.SLDASM", click Export button.
Rename "equations.txt" to match your assembly's file name.
Save the text file in the assembly's folder.
This dialog displays. Check only the items you wish to export and click Export.
Equations dialog in assembly "FakeBracket.SLDPRT", click Inport button.
Leave the GV checked and click Import. Select the assembly's exported text file.
The assembly's GV is created in the part's list of GVs, but is grayed out and can't be modified:
In the part's custom properties, create a custom property using the assembly's GV name and the part's file name:
Remember, any edits must only be made to the assembly's global variable to maintain the linkage.
I hope this helps.
Kevin
Yes you can do that via macro but you need to run the macro in case the property changes.