Link reference cell in properties to Excel catalog

Product design in 3D, mechanical engineering, kinematics, dynamics, parts and components, surfacic, assemblies...

Moderators: remi77, jacs, Daniel

Scott
Private
Private
Posts: 5
Joined: Fri Dec 09, 2011 6:07 pm

Link reference cell in properties to Excel catalog

Unread post by Scott »

Does anyone know how to link the "reference" cell in the defined properties to an excel catalog?

I have a catalog part, but the catalog part is different then my part number. I want to have the reference cell (part number) to change based on the catalog code used when i include the standard into an assembly.

I have attached an image to help illustrate.
Attachments
Question, Reference Part Number 2.png
Question, Reference Part Number 2.png (255.33 KiB) Viewed 7476 times
User avatar
olaio
Second Officer Cadet
Second Officer Cadet
Posts: 194
Joined: Thu Mar 01, 2007 11:42 am
Answers: 2
Location: Leiria

Unread post by olaio »

Hi,

In your excel file rename your column "DW Part Number" to "$Reference".
This should be enough.

Olaio
Scott
Private
Private
Posts: 5
Joined: Fri Dec 09, 2011 6:07 pm

Unread post by Scott »

Thanks for your reply.

I tried this with no luck.

Does Cell "E1" have to be defined like cell "A1"? (See attached image)
Attachments
Question, Reference Part Number 3.png
Question, Reference Part Number 3.png (55.36 KiB) Viewed 7458 times
User avatar
olaio
Second Officer Cadet
Second Officer Cadet
Posts: 194
Joined: Thu Mar 01, 2007 11:42 am
Answers: 2
Location: Leiria

Unread post by olaio »

Ok,

Just try this:
Close TopSolid.
Open the excel file.
In the excel file :arrow: File :arrow: Save As :arrow: In Type file choose Text(separated by tabulations).
Then in windows explorer rename the txt file to cat file.
Rename the excel file to another name.
Run TopSolid.
Check if everything is OK.

Olaio
Scott
Private
Private
Posts: 5
Joined: Fri Dec 09, 2011 6:07 pm

Unread post by Scott »

This didn't work...

What version of TopSolid are you using? We are using TopSolid 2012 (V613).

Would you be willing to take a look at the files that we have created?

Scott
User avatar
olaio
Second Officer Cadet
Second Officer Cadet
Posts: 194
Joined: Thu Mar 01, 2007 11:42 am
Answers: 2
Location: Leiria

Unread post by olaio »

Hi Scott,

No problem, just upload your files and we will see what we can do :D

Olaio
Scott
Private
Private
Posts: 5
Joined: Fri Dec 09, 2011 6:07 pm

Unread post by Scott »

See attached files.

I had to add ".txt" to the ".cat" file so I could upload the file.
Attachments
Brush (Sealeze)#V=Nylon Brush#I=001#R=NR.top
(30.45 KiB) Downloaded 284 times
Brush (Sealeze)#V=Nylon Brush#I=001.xls
(12.93 KiB) Downloaded 328 times
Brush (Sealeze)#V=Nylon Brush#I=001.cat.txt
(1.6 KiB) Downloaded 308 times
User avatar
olaio
Second Officer Cadet
Second Officer Cadet
Posts: 194
Joined: Thu Mar 01, 2007 11:42 am
Answers: 2
Location: Leiria

Unread post by olaio »

Ok,

i checked where is the problem.

replace $Reference by $reference ("r" instead of "R").

Here it works.

Olaio
Scott
Private
Private
Posts: 5
Joined: Fri Dec 09, 2011 6:07 pm

Unread post by Scott »

That worked when I made the change to the .cat file!

Thanks for your help!!!
Post Reply