[TS7.12] [C#] IBoms.ForceCell Method

All topics about specific development with COM interface, LIP language, API in VB, ...

Moderators: remi77, jacs, Daniel

MOLD_4.0
Private
Private
Posts: 7
Joined: Mon May 27, 2019 6:27 am
TopSolid Module: TopSolid'Mold
TopSolid Version: 7.8

[TS7.12] [C#] IBoms.ForceCell Method

Unread post by MOLD_4.0 »

Hello Together,

I want to transfer the cell content from one cell to another.
If I do this with:
IBoms.ForceCell Method

Image

i get a result like scraping (Yellow) Mode but i want do this without scraping (not Yellow).

I typed the other cells and it works.

Background info:
I want to syncronize the Index of Bom automatically with the partnumber of Part. The name of my parts is prametrized (Part Number + Description).
I want it to look like this:

Image
Attachments
nummer.JPG
nummer.JPG (10.98 KiB) Viewed 15928 times
index.JPG
User avatar
olaio
Second Officer Cadet
Second Officer Cadet
Posts: 194
Joined: Thu Mar 01, 2007 11:42 am
Answers: 2
Location: Leiria

Re: [TS7.12] [C#] IBoms.ForceCell Method

Unread post by olaio »

Hi MOLD_4.0

Why do you use the index?
I have the same method (very similar) and never used the index!

Olaio
MOLD_4.0
Private
Private
Posts: 7
Joined: Mon May 27, 2019 6:27 am
TopSolid Module: TopSolid'Mold
TopSolid Version: 7.8

Re: [TS7.12] [C#] IBoms.ForceCell Method

Unread post by MOLD_4.0 »

Hello olaio,
because we have special Index rules,
for example all plates 001-020 or Injector Pins 400-500.
The bom do this automatically with index rules.
I want to syncronize this indexnumbers with partnummbers.

At the moment I'm writing this index into the part number myself.
After this the name of my syncronized parts is looking like this:
003 - F10/ 296 296/53/1.2312 - Plate
405 - E1710/6x150 - Cylindrical Injector
I want to do this automatically.

Sometimes we build 10 injection molds simultaneously with hundreds of parts.
Our CNC milling programmers and EDM Wire programmers do not get a drawing but have an electronic display (ERP) which part to program next.
This allows our specialists to find the parts very quickly using the project number and index.

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

Re: [TS7.12] [C#] IBoms.ForceCell Method

Unread post by olaio »

OK,
I understand.
I am not an expert with C# but it seems to me that you can not use the IBom Method!
I think that you have to modify directly in the part file the parameter "Part Number".

Olaio
MOLD_4.0
Private
Private
Posts: 7
Joined: Mon May 27, 2019 6:27 am
TopSolid Module: TopSolid'Mold
TopSolid Version: 7.8

Re: [TS7.12] [C#] IBoms.ForceCell Method

Unread post by MOLD_4.0 »

olaio wrote: Thu May 30, 2019 10:25 am I have the same method (very similar) and never used the index!
What is your goal with this method?
olaio wrote: Thu May 30, 2019 5:26 pm I think that you have to modify directly in the part file the parameter "Part Number".
Do you know a method with which I can assign the index to the part?

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

Re: [TS7.12] [C#] IBoms.ForceCell Method

Unread post by olaio »

Hi,

1 - I have created an "User Property" so the user can assign directly in the 3D this property. This way the index is never modified by any update and the user can define his value as he wants.

2 - I think that you can not assign the index property to a part! That's why i have created my own "User Property", but since 7.12 you can assign the "Occurrence Properties" to any part in your 3D. There you can use the "Occurrence bom index" that will fill the bom document.
MOLD_4.0
Private
Private
Posts: 7
Joined: Mon May 27, 2019 6:27 am
TopSolid Module: TopSolid'Mold
TopSolid Version: 7.8

Re: [TS7.12] [C#] IBoms.ForceCell Method

Unread post by MOLD_4.0 »

Hi,
I did it, the index from Bom Document is read out and then automaticly entered directly into the partnumber of the part.
Post Reply