Hi!
Sorry, but i don't understand wich version are you using, 7.10 or 6.16?
By the code, i guess you're using TS V6, right?
If its TS V7, you have to reference TopSolid.Kernel.Automating.dll :B
Search found 38 matches
- Thu Jul 07, 2016 2:25 pm
- Forum: Specific Development
- Topic: Instantiation of TopSolid.Application(Start of TopSolid) throws COM-Exception 80080005
- Replies: 7
- Views: 5657
- Tue Jun 14, 2016 2:57 pm
- Forum: Specific Development
- Topic: Get boolean IsTopSolidOpen
- Replies: 8
- Views: 9505
Re: Get boolean IsTopSolidOpen
Hello!
Thanks for replying!
i'd found a way to get, just add
TopSolid.Kernel.Automating.TopSolidHost.Connect(false, 3);
if TS is open, will connect, otherwise not.
Thanks!
Thanks for replying!
i'd found a way to get, just add
TopSolid.Kernel.Automating.TopSolidHost.Connect(false, 3);
if TS is open, will connect, otherwise not.
Thanks!
- Wed Jun 01, 2016 1:43 pm
- Forum: Specific Development
- Topic: Get boolean IsTopSolidOpen
- Replies: 8
- Views: 9505
Get boolean IsTopSolidOpen
Hello!
Does somebody knows how to het if TS is already open?
not IApplication.IsConnected, before connect i want to know if TS is open.
Thanks!
Does somebody knows how to het if TS is already open?
not IApplication.IsConnected, before connect i want to know if TS is open.
Thanks!
- Tue May 24, 2016 9:16 pm
- Forum: TopSolid'Wood
- Topic: Get Table index of part from BOM
- Replies: 2
- Views: 2368
Re: Get Table index of part from BOM
I'm using IDocument.GetBOM()
but now i fixed the problem, i just add the "NESTING_NAME" column that gives me the table name + #
then i organized the tables with a dictionary x elements for consulting.
Thanks!
but now i fixed the problem, i just add the "NESTING_NAME" column that gives me the table name + #
then i organized the tables with a dictionary x elements for consulting.
Thanks!
- Mon May 23, 2016 3:38 pm
- Forum: TopSolid'Wood
- Topic: Get Table index of part from BOM
- Replies: 2
- Views: 2368
Get Table index of part from BOM
Hello!
I'm doing some automations to be able to create a *.cix file and *.xml label file to do the labeling.
but i'm having some issues when trying to get the table index of each part on the nesting file...
do someone already had the same problem?
Thanks in advance,
I'm doing some automations to be able to create a *.cix file and *.xml label file to do the labeling.
but i'm having some issues when trying to get the table index of each part on the nesting file...
do someone already had the same problem?
Thanks in advance,
- Thu Mar 17, 2016 2:41 pm
- Forum: Specific Development
- Topic: Update File reference via API [TS 7.9]
- Replies: 0
- Views: 6092
Update File reference via API [TS 7.9]
do someone know how to update (or get if a reference is not updated) a file references?
i'm trying but no success. ):
i'm trying but no success. ):
- Wed Jan 13, 2016 1:52 pm
- Forum: TopSolid'Design 7
- Topic: Explicit family document
- Replies: 6
- Views: 7278
Re: Explicit family document
Hello there! i got the same problem in changing code value, but you can do delete an instance of family. when you change an code value, they will create another instance with the same parameters and the new desired code. http://i.imgur.com/YZlePf6.png you have to be sure that document isn't used. ho...
- Tue Nov 10, 2015 8:50 pm
- Forum: TopSolid'Wood
- Topic: Recent Projects
- Replies: 15
- Views: 11267
Re: Recent Projects
Wow! Very nice!!
Best regards,
Guilherme Manucci
Best regards,
Guilherme Manucci
- Wed Oct 21, 2015 2:17 pm
- Forum: Specific Development
- Topic: Calculation of Face Area
- Replies: 17
- Views: 13315
Re: Calculation of Face Area
of course!
i'm thinking about it, and i don't know how to proceed with an face that have an boss (will add edges, and then will raise our "perimeter")
i'm thinking about it, and i don't know how to proceed with an face that have an boss (will add edges, and then will raise our "perimeter")
- Wed Oct 21, 2015 1:46 pm
- Forum: Specific Development
- Topic: Highlight an element
- Replies: 12
- Views: 7861
Re: Highlight an element
are you using assembly file? i got the shapes getting all elements then using the TopSolidHost.Elements.IsColorModifiable(ElementId), now i can manipulate these list... i'm not using the TopSolidHost.Shapes.GetShapes(ElementId) > this returns nothing on assembly file (with components). http://i.imgu...
- Wed Oct 21, 2015 11:18 am
- Forum: Specific Development
- Topic: Calculation of Face Area
- Replies: 17
- Views: 13315
Re: Calculation of Face Area
I guess if you have an rectangular shape, with small thickness you'll have a small area but an big perimeter...
- Tue Oct 20, 2015 5:07 pm
- Forum: Specific Development
- Topic: Calculation of Face Area
- Replies: 17
- Views: 13315
Re: Calculation of Face Area
i'm not finding an way to get the areas ):
i got the faces, edges, etc. but not the areas ):
i got the faces, edges, etc. but not the areas ):
- Tue Oct 20, 2015 12:27 pm
- Forum: Specific Development
- Topic: Calculation of Face Area
- Replies: 17
- Views: 13315
Re: Calculation of Face Area
ok, but will look into all shapes or in only one selected shape?
- Mon Oct 19, 2015 8:50 pm
- Forum: Specific Development
- Topic: Highlight an element
- Replies: 12
- Views: 7861
Re: Highlight an element
you do meaning it?
if on v6 have the GetColor and SetColor, we can do these things!
if on v6 have the GetColor and SetColor, we can do these things!
- Mon Oct 19, 2015 4:32 pm
- Forum: Specific Development
- Topic: Calculation of Face Area
- Replies: 17
- Views: 13315
Re: Calculation of Face Area
There is two kinds of Elements
the ElementId (where is stored the value of the shape)
and the ElementItemId (where is stored Items from ElementId, like faces)
You want to get the maximum area of just one ElementId or get the maximum area of each shapes?
the ElementId (where is stored the value of the shape)
and the ElementItemId (where is stored Items from ElementId, like faces)
You want to get the maximum area of just one ElementId or get the maximum area of each shapes?