Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Save As" an assembly and parts with equation

Status
Not open for further replies.

rgrayclamps

Mechanical
Aug 6, 2004
376
Hi,

I am having an issue with "Save As" command. When I save an assembly model (*.sldasm) together with selective components, SW indicated that I saved them successfully. But equations I have in eithor parts' model or the assembly model do not get updated to file names of the new created assembly and parts.

When I use "Pack n Go", I do not have the issue. Did anyone experience this issue?

Best regards,

Alex
 
Replies continue below

Recommended for you

Equations as tied to file name and they don't get updated if you do a save as whereas during P&G, the file name doesn't change (until you change it)

Deepak Gupta
SW 2010 SP4.0 & 2011 SP1.0
DriveWorks Pro 7 SP5
Boxer's SolidWorks™ Blog
 
Hi, Deepak:

So, you have the same issue. It seems a bug. I am requesting a SPR via VAR with this issue.

Equations that are tied to file names do get updated during P&G with file name changes.

Best regards,

Alex
 
I have seen this behavior as far back as 2008.

Eric
 
Hi,

I got a reply from SW that confirmed the issue. SW has been working on it.

Best regards,

Alex
 
I have a few parts that use Global Vars saved in a .txt file. When I did P&G it sent all the parts to the new folder, and even the .txt files.
However, the individual parts still linked back to the OLD .txt

Original
..\[WIP] Model\vars.txt

New
..\Production\vars.txt

The part (now in "..\Production\") still looked to "..\[WIP] Model\" until I manually updated it.
Check that out too.

Devon, EIT [Mechanical]
Solidworks 2011 SP 1.0
 
Hi,

Interesting! It is a big bug, isn't it?

BTW, how do you use global vars in a *.txt file?

Best regards,

Alex
 
rgrayclamps said:
how do you use global vars in a *.txt file?

Create a .txt file.
Code:
"height" = 10
"width" = 24
"var_name" = 2

Then in the Equations editor, import the .txt

I feel like it is a workaround for when out-of-context relations break a lot (ie. modifying sheet metal parts, faces and edges always change names).

Devon Murray, EIT [Mechanical]
Solidworks 2011 SP 2.0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor