Search found 35 matches

by Holzknoten
Wed Mar 06, 2019 5:13 pm
Forum: Specific Development
Topic: [TS6] [VB 2010]: .GetTextProperty of property group
Replies: 1
Views: 3915

Re: [TS6] [VB 2010]: .GetTextProperty of property group

*PUSH* I got this code from my BOM-Files for the first four propertys of property-group: "DEF=<PROP|Gruppen-Bauteileigenschaften,0>" "DEF=<PROP|Gruppen-Bauteileigenschaften,1>" "DEF=<PROP|Gruppen-Bauteileigenschaften,2>" "DEF=<PROP|Gruppen-Bauteileigenschaften,3>" I try this VB-Code to get the third...
by Holzknoten
Mon Nov 05, 2018 6:41 am
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 17476

Re: INDEX NAME

I know there are some commands in top.men or dft.men file to execute a external .exe file. Just search to all .lob files for ".exe" with notepad++. Inside these results choose one .lob file and copy, rename and change inside the name of .exe file. For the correct icon you have to search the forum. T...
by Holzknoten
Mon Oct 29, 2018 4:54 pm
Forum: Specific Development
Topic: Do you modify your TS? / how to decompile a lob
Replies: 7
Views: 10227

Re: Do you modify your TS? / how to decompile a lob

Hi AlexAS, if documentation is missing i try to understand the command. for example "DWreadconfint" I search all lisp files for text "DWreadconfint" with the tool notepad++. results are: hide? DWreadconfint hide! value? DWreadconfint value! 0 DWreadconfint chooseset! addauxis? DWreadconfint addauxis...
by Holzknoten
Mon Oct 08, 2018 6:39 am
Forum: Specific Development
Topic: [TS6] [VB 2010]: Dim TopSolid.Application the correct way in Win 10 ?
Replies: 3
Views: 5012

Re: [TS6] [VB 2010]: Dim TopSolid.Application the correct way in Win 10 ?

Hi MonkeySleeve win 10 and opening current TopSolid.Application is still working. We have to know the new Security Standards of Win10. If a "normal" User with "normal" rights starts TopSolid then the TopSolid.Application is in User environment with user rights. When we start our VB-Tools we have to ...
by Holzknoten
Mon Feb 12, 2018 5:14 pm
Forum: Specific Development
Topic: Get boolean IsTopSolidOpen
Replies: 8
Views: 7440

Re: Get boolean IsTopSolidOpen

Is there a simular way for TopSolid 6.18 ? # TopSolid.Kernel.Automating.TopSolidHost.Connect ??? I use this in TopSolid 6.18 and VB2010 Dim TopApp as TopSolid.Application TopApp = new TopSolid.Application or TopApp = CreateObject("TopSolid.Application") Both use the first open TopSolid or open a new...
by Holzknoten
Mon Feb 12, 2018 10:19 am
Forum: Specific Development
Topic: [TS6] [VB 2010]: .GetTextProperty of property group
Replies: 1
Views: 3915

[TS6] [VB 2010]: .GetTextProperty of property group

working for single proberties :idea: .getTextProperty("prop1") .SetTextProperty("prop1","value") how to get/set property of a group of properties :?: Does not work for... group_of_props.PNG .getTextProperty("Gruppen-Bauteileigenchaften") :arrow: With this i got only the first property "Hersteller" H...
by Holzknoten
Mon Feb 05, 2018 7:31 am
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 17476

Re: INDEX NAME

is there a solution to get other proberties?

.GetTextProperty("$part_type_property")
Image
by Holzknoten
Mon Feb 05, 2018 7:10 am
Forum: Specific Development
Topic: [TS6] [VB 2010]: Dim TopSolid.Application the correct way in Win 10 ?
Replies: 3
Views: 5012

[TS6] [VB 2010]: Dim TopSolid.Application the correct way in Win 10 ?

I use Visual Basic 2010 Express to automate TopSolid V618 in Windows 7 x64. Now i got Windows 10 x64 and trouble with definition of TopSolid.Application. The API examples of TopSolid Api documentation looks like this: Dim TopApp As TopSolid.Application TopApp = New TopSolid.Application 'This starts ...
by Holzknoten
Fri Jan 06, 2017 7:40 am
Forum: Specific Development
Topic: How to check TopSolid.text in $SET_ENTITIES_TEXTS
Replies: 0
Views: 2378

How to check TopSolid.text in $SET_ENTITIES_TEXTS

Hi everybody, i try to check and change the Texts inside the Draft. I got the solution myself. :D :mrgreen: :lol: My VB Code is now working. Dim ListOfText As TopSolid.Set = TopDoc3D.Elements("$SET_ENTITIES_TEXTS") Dim TopElt As TopSolid.Element Dim TopText As TopSolid.Text For i As Integer = 1 To L...
by Holzknoten
Thu Nov 17, 2016 10:22 am
Forum: Specific Development
Topic: Document properties, elements, and LIP
Replies: 3
Views: 7293

Re: Document properties, elements, and LIP

hi codycousins, i am standing at the same point like you. The full automation export of bill of material to excel stops at the window "level choise". Here i have to expand manually. Option 1: You can start a VB-Programm that wait for this window and send.keys({ENTER}) Option 2: Inside the BOM-File i...
by Holzknoten
Thu Oct 02, 2014 1:06 pm
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 17476

Re: INDEX NAME

Okay analyse is not enough for me. I give it a try with a lob-file that scan the needed informations. I will send you my experience. Thanks a lot. ------UPDATE-------- I try to GetTextProperty("$bom_index_name") MsgBox(TopBomElement.GetTextProperty("$bom_index_name")) I got only a Error " HRESULT E_...
by Holzknoten
Thu Oct 02, 2014 8:16 am
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 17476

Re: INDEX NAME

Hi topzoli,

thanks a lot.
So i can optimize/speed up my current code.
At the moment i have to generate a Bom to get the special Properties. Thats no more necessary.

Do you have also any expierience with the API-Command "Analyse()"?
I need to get the length and thickness of a shape without using BOM.
by Holzknoten
Thu Oct 02, 2014 6:26 am
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 17476

Re: INDEX NAME

thanks for your answer. I am happy that my little code could help you. I try to anderstand what you are doing. You SetTextProperty("$part_type_property", "I") of a "set". Do you "sort by" $part_type_property in your *.Bom-File? I read your code and i have also a question to this term "GetTextPropert...
by Holzknoten
Fri Aug 15, 2014 4:56 pm
Forum: Specific Development
Topic: TopSolid 7 API getting started (newbie)
Replies: 1
Views: 3409

Hi Larry,

i use v6.14 and the API V6.8. My basics were Visual-Basic and DOS-Commands.
DIY-Training was possible with http://cadwithapi.blogspot.pt/
There you get the sourcecode of some Apps.

Best learning is to give you yourself a little project.
by Holzknoten
Wed Jul 23, 2014 5:12 pm
Forum: Specific Development
Topic: Automatic by API "SaveAs" vs. "Export"
Replies: 1
Views: 3230

the solution is to use the lip-file for save command.

inside there is a command with some parameters like ....
- DWG or DXF
- version

works perfect for an automatic command for a list of files.