Hi!
There is property “MATTER_GRAIN_ORIENTATION” in TopSolid and I use it in many BOM templates. But I’d like to replace “YES” and “NO” values with “1” and “0” ones to avoid manual correction of table during BOM exporting to cutting machine. What do you think – is it possible?
I use two languages of TopSolid interface and I see that there are different values for this property in these interfaces – YES for English/ANO for Czech and NO for English/NE for Czech. It means that there is a chance to find configuration file or file of dictionary. I tried but I’ve not found it yet.
MATTER_GRAIN_ORIENTATION
Moderators: remi77, jacs, Daniel
- VVN
- Corporal
- Posts: 28
- Joined: Fri Mar 31, 2017 11:58 am
- TopSolid Module: TopSolid'Wood
- TopSolid Version: 6.18
- Location: Czech Republic
- Contact:
MATTER_GRAIN_ORIENTATION
Last edited by VVN on Fri Jul 20, 2018 5:43 am, edited 1 time in total.
- Todd
- First Officer Cadet
- Posts: 246
- Joined: Mon Nov 10, 2014 9:28 pm
- TopSolid Module: TopSolid'Wood
- TopSolid Version: 6.24
- Location: Detroit, MI
Re: MATTER_GRAIN_ORIENTATION
Are you exporting to excel or text for the output format?
- VVN
- Corporal
- Posts: 28
- Joined: Fri Mar 31, 2017 11:58 am
- TopSolid Module: TopSolid'Wood
- TopSolid Version: 6.18
- Location: Czech Republic
- Contact:
Re: MATTER_GRAIN_ORIENTATION
Hi, Todd
I export BOMs to Excel.
It' possible to use Excel functions - I uderstand (if you mean it). But I'm just looking for chance to change a "few letters" in *.cfg or *.dic files to solve this situation. If there is no "internal" TopSolid way I'll develop "external" Excel one. (Sometimes I'm afraid of changes of standard templates because there are few TS users in our company, two languages of TS interface and many templates of BOMs and drafts ).
I export BOMs to Excel.
It' possible to use Excel functions - I uderstand (if you mean it). But I'm just looking for chance to change a "few letters" in *.cfg or *.dic files to solve this situation. If there is no "internal" TopSolid way I'll develop "external" Excel one. (Sometimes I'm afraid of changes of standard templates because there are few TS users in our company, two languages of TS interface and many templates of BOMs and drafts ).
- Todd
- First Officer Cadet
- Posts: 246
- Joined: Mon Nov 10, 2014 9:28 pm
- TopSolid Module: TopSolid'Wood
- TopSolid Version: 6.24
- Location: Detroit, MI
Re: MATTER_GRAIN_ORIENTATION
Yeah I understand. but odds are that the change your TopSolid files could be difficult if its evaluating it as a string/text and your try to convert it to an integer
NAME=MATERIAL_GRAIN_ORIENTATION
"DEF=<MATTER_GRAIN_ORIENTATION>"
TYPE=STRING try change this in your bom template to TYPE=INTEGER
ALIGN=LEFT
TITLE_ALIGN=LEFT
WIDTH=0.0127
VISIBLE=YES
;
NAME=MATERIAL_GRAIN_ORIENTATION
"DEF=<MATTER_GRAIN_ORIENTATION>"
TYPE=STRING try change this in your bom template to TYPE=INTEGER
ALIGN=LEFT
TITLE_ALIGN=LEFT
WIDTH=0.0127
VISIBLE=YES
;
-
- Private
- Posts: 4
- Joined: Wed May 09, 2018 2:51 pm
- TopSolid Module: TopSolid'Wood
- TopSolid Version: 6.19
Re: MATTER_GRAIN_ORIENTATION
Are you trying to show whether or not your material has grain orientation (being yes/no or 1/0) or are you trying to show the driver that you've used to drive grain orientation on your parts?
Try editing your BOM in TS and instead of using (TopSolid'Design - Material and Coating --> Material Grain Orientation) use
(TopSolid'Design - Physical Properties --> Grain orientation).
Or simply manually edit your BOM template and change "DEF=<MATTER_GRAIN_ORIENTATION>" to "DEF=<PART_GRAIN_SENSE>" and TYPE=INTEGER
I think what you're getting currently and this method both reference if you've set your material to have grain orientation when you manage materials.
Try editing your BOM in TS and instead of using (TopSolid'Design - Material and Coating --> Material Grain Orientation) use
(TopSolid'Design - Physical Properties --> Grain orientation).
Or simply manually edit your BOM template and change "DEF=<MATTER_GRAIN_ORIENTATION>" to "DEF=<PART_GRAIN_SENSE>" and TYPE=INTEGER
I think what you're getting currently and this method both reference if you've set your material to have grain orientation when you manage materials.
- VVN
- Corporal
- Posts: 28
- Joined: Fri Mar 31, 2017 11:58 am
- TopSolid Module: TopSolid'Wood
- TopSolid Version: 6.18
- Location: Czech Republic
- Contact:
Re: MATTER_GRAIN_ORIENTATION
Hi!
<PART_GRAIN_SENSE>" + TYPE=INTEGER - is exactly what I need.
Todd, JReimers, thank you for your help.
<PART_GRAIN_SENSE>" + TYPE=INTEGER - is exactly what I need.
Todd, JReimers, thank you for your help.