|
creating assemblies and parts from docmgr
what is the best way to create assemblies and parts from documentmanager? the parts and assemblies should be in 2007 format (not newer). the assemblies just have to contain parts - i don't care about the position and/or visibility of its parts.
the only solution i could come up with was this:
parts:
1. create an empty part with solidworks 2007 once.
2. copy that when you need a new part.
assemblies:
1. create [n+1] assemblies that contain 0-[n] different parts with solidworks 2007.
2. copy the assembly with the same number of parts that you want to create.
3. replace the reference of every part with the part that you want in the assembly.
4. if you want to create an assembly with more than [n] parts, you're out of luck.
is there a faster/better solution to achieve the same results?
what is the reason for this?
i'm working on an application which lets project managers build the cad structure so that design engineers structure the machine accordingly.
it's quite difficult to explain the whole concept, but i can show it to you when it's finished and you're interested.
the document manager is used to work with existing files so they would have to exist in the first place. there is no way to add parts to an assembly only replace their references, so your first statement is correct. if speed isn't a massive issue just use sw api instead of dm.
but project managers might not have solidworks installed. that's why i can't use solidworks.
do you think my idea will work out?
if you have presaved assemblies containing 0-n references, and every part you require presaved too, then you can replace references as you please to do what you want.
thank you!
quick |
|