Search found 43 matches

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

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

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 Intege...
by Holzknoten
Thu Nov 17, 2016 10:22 am
Forum: Specific Development
Topic: Document properties, elements, and LIP
Replies: 3
Views: 8716

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 ...
by Holzknoten
Thu Oct 02, 2014 1:06 pm
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 22940

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 ...
by Holzknoten
Thu Oct 02, 2014 8:16 am
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 22940

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 ...
by Holzknoten
Thu Oct 02, 2014 6:26 am
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 22940

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...
by Holzknoten
Fri Aug 15, 2014 4:56 pm
Forum: Specific Development
Topic: TopSolid 7 API getting started (newbie)
Replies: 1
Views: 4286

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

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.
by Holzknoten
Mon Jul 14, 2014 7:52 pm
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 22940

[Tutorial] my first lip / lob macro

first step is to try to understand the toolsbars, commands and the lip-files. A easy example: edit reference of Element http://forum.TopSolid.com/files/refedit_715.png This button is inside the attributes-toolbar. The attributes-toolbar for the Design(Top-Files) is inside C:\Missler\V6xx\bin\top.icn...
by Holzknoten
Mon Jul 14, 2014 12:49 pm
Forum: Specific Development
Topic: Repetition vs. Propagation
Replies: 1
Views: 4494

that looks difficult.
I give it a try.
Maybe there is an API Code to modify this.
by Holzknoten
Mon Jul 14, 2014 12:45 pm
Forum: Specific Development
Topic: Select element
Replies: 2
Views: 5106

you have to use IAsks.AskElement(Element)
See Helpfile API for Information.

i can bring you a code-sample in the next Days.
by Holzknoten
Mon Jul 14, 2014 6:44 am
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 22940

i found a solutuion with a additional lip/lob file. I do the most steps like "topzoli" with API. and for each element i do this steps in lip/lob: - PushIntegerOnStack(ElementID) - PushIntegerOnStack(myBOMindex) - ExecuteMacro(LobPath) for examples i installed the Modul "TopLip" s...
by Holzknoten
Sun Apr 13, 2014 8:08 pm
Forum: Specific Development
Topic: INDEX NAME
Replies: 15
Views: 22940

Hi Lubos,

same for me.
I get more and more with VB and TS API to work.
To set element properties is no Problem.

But the index is only readable.
Maybe the official lob-Funktion can help you with this Step.

I will take a look next week.
by Holzknoten
Sun Feb 23, 2014 10:35 am
Forum: Specific Development
Topic: Automatic by API "SaveAs" vs. "Export"
Replies: 1
Views: 3989

Automatic by API "SaveAs" vs. "Export"

Hi TopSolid users and supporter, i want to automaticly export my files in mutiple formats (dwg/dxf/pdf/jpg) For that i use the following code of the API-help-file. IDocument.Export(Path, InterfaceProvider, Ask) or IDocument.SaveAs(Name, Ask) My working steps in VB with SaveAs for a Designfile (.top)...
by Holzknoten
Mon Jul 15, 2013 9:37 pm
Forum: Specific Development
Topic: TopSolid Dialog
Replies: 2
Views: 4707

The wizard is for creating a personal dialog. Examples by missler are only calculatings. But it is more possible. You can create a Dialog to insert a component with the correct parameter value. I try to understand this Tutorial. http://www.kxcad.net/TopSolid/topsolid_Design/tutorial_wiz/tutorial_she...