Search found 43 matches

by Holzknoten
Wed Mar 11, 2020 5:19 am
Forum: Specific Development
Topic: TopSolid V6 - PushElementOnStack
Replies: 14
Views: 876

Re: TopSolid V6 - PushElementOnStack

D@vid wrote:
> Hi!
>
> When the topic is solved or when you get an proper answer, I strongly
> recommand to use the topic icon feature!
> You just edit the first post of the discussion and select Topic icon.
>
> Thanks!

Please change the icon for your first pos of this Topic.
by Holzknoten
Tue Mar 10, 2020 6:01 am
Forum: Specific Development
Topic: TopSolid V6 - PushElementOnStack
Replies: 14
Views: 876

Re: TopSolid V6 - PushElementOnStack

perfect. now we are shure, we Push the Element "2352" On Stack . Your main question was "How to pushElementOnStack ". For Example: We Push the Element "25" as first on Stack . And we Push the Element "2352" as second on Stack . Now there are two Elements inside the " Stack ". Stack is like a small c...
by Holzknoten
Mon Mar 09, 2020 3:54 pm
Forum: Specific Development
Topic: TopSolid V6 - PushElementOnStack
Replies: 14
Views: 876

Re: TopSolid V6 - PushElementOnStack

what return the MsgBox?

Code: Select all

MsgBox(TopElt2.NameOrIdentifier)
only the msgbox return correct identifier we can modify the lip/lob file
by Holzknoten
Thu Mar 05, 2020 5:34 pm
Forum: Specific Development
Topic: TopSolid V6 - PushElementOnStack
Replies: 14
Views: 876

Re: TopSolid V6 - PushElementOnStack

you missunderstood how to use pushtoStack Wrong lip: LABEL 2352 LABEL 2352 Right lip: LABEL labone LABEL labtwo labone! (get element from stack from VB) Inside VB: Yes you are right if we use Identifier in VB we have to use Identifier without "@" ... If TopElt2.Identifier = "2352" Then Right VB: if ...
by Holzknoten
Wed Mar 04, 2020 6:44 am
Forum: Specific Development
Topic: TopSolid V6 - PushElementOnStack
Replies: 14
Views: 876

Re: TopSolid V6 - PushElementOnStack

Function "PushElementOnStack" working correct. OK back to the startpoint. In your code you have try to set the variable TopElt. But TopElt keeps empty because your Element was not found. You have to understand that inside a DRAFT file there are elements other as in TOP file. My Example @112 inside T...
by Holzknoten
Tue Mar 03, 2020 5:32 pm
Forum: Specific Development
Topic: TopSolid V6 - PushElementOnStack
Replies: 14
Views: 876

Re: TopSolid V6 - PushElementOnStack

Point 5) What is the job at Point 5?

EXE File launching is discripted inside this forum. viewtopic.php?f=5&t=784&p=2706&hilit=EXE#p2706
by Holzknoten
Mon Mar 02, 2020 3:49 pm
Forum: Specific Development
Topic: TopSolid V6 - PushElementOnStack
Replies: 14
Views: 876

Re: TopSolid V6 - PushElementOnStack

You have to define the correct fileformat Dim TopDoc As TopSolid.DocumentDesign ‘For Draft-File reduced functions Dim TopDoc3D As TopSolid.Document ‘For Top-File and Draft-File many cool functions You have to search the right way Dim TopApp as TopSolid.Application Dim TopDoc3D As TopSolid.Document ‘...
by Holzknoten
Sat Nov 02, 2019 8:26 am
Forum: TopSolid'Draft
Topic: API-choose which version of TopSolid you want to run
Replies: 1
Views: 5901

Re: API-choose which version of TopSolid you want to run

Hi, Same problem here. With VB i check all processes. Got each process for each TopSolid. Try to translate the process HWD to TopSolid.application No solution yet. :( Also you have to try InteropServices.Marshal to translate process to TopSolid.application. The first pid of TopSolid process is used ...
by Holzknoten
Wed Mar 06, 2019 5:13 pm
Forum: Specific Development
Topic: [TS6] [VB 2010]: .GetTextProperty of property group
Replies: 1
Views: 4698

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: 19349

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: 11197

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: 5884

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: 7698

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: 4698

[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: 19349

Re: INDEX NAME

is there a solution to get other proberties?

.GetTextProperty("$part_type_property")
Image