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

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

Moderators: remi77, Daniel, jacs

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

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

Unread post by MOLD_4.0 » Tue May 28, 2019 10:48 am

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 4590 times
index.JPG

User avatar
olaio
Volunteer Cadet
Volunteer Cadet
Posts: 182
Joined: Thu Mar 01, 2007 11:42 am
Location: Leiria

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

Unread post by olaio » Thu May 30, 2019 10:25 am

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: 6
Joined: Mon May 27, 2019 6:27 am
TopSolid Module: TopSolid'Mold
TopSolid Version: 7.13

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

Unread post by MOLD_4.0 » Thu May 30, 2019 1:55 pm

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
Volunteer Cadet
Volunteer Cadet
Posts: 182
Joined: Thu Mar 01, 2007 11:42 am
Location: Leiria

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

Unread post by olaio » Thu May 30, 2019 5:26 pm

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: 6
Joined: Mon May 27, 2019 6:27 am
TopSolid Module: TopSolid'Mold
TopSolid Version: 7.13

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

Unread post by MOLD_4.0 » Fri May 31, 2019 8:58 am

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
Volunteer Cadet
Volunteer Cadet
Posts: 182
Joined: Thu Mar 01, 2007 11:42 am
Location: Leiria

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

Unread post by olaio » Thu Jun 06, 2019 1:05 pm

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: 6
Joined: Mon May 27, 2019 6:27 am
TopSolid Module: TopSolid'Mold
TopSolid Version: 7.13

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

Unread post by MOLD_4.0 » Tue Jun 11, 2019 12:15 pm

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