Page 1 of 1

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

Posted: Tue May 28, 2019 10:48 am
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

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

Posted: Thu May 30, 2019 10:25 am
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

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

Posted: Thu May 30, 2019 1:55 pm
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

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

Posted: Thu May 30, 2019 5:26 pm
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

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

Posted: Fri May 31, 2019 8:58 am
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

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

Posted: Thu Jun 06, 2019 1:05 pm
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.

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

Posted: Tue Jun 11, 2019 12:15 pm
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.