Search found 38 matches

by gmanucci
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: 5649

Re: Instantiation of TopSolid.Application(Start of TopSolid) throws COM-Exception 80080005

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
by gmanucci
Tue Jun 14, 2016 2:57 pm
Forum: Specific Development
Topic: Get boolean IsTopSolidOpen
Replies: 8
Views: 9378

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. :D

Thanks!
by gmanucci
Wed Jun 01, 2016 1:43 pm
Forum: Specific Development
Topic: Get boolean IsTopSolidOpen
Replies: 8
Views: 9378

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!
by gmanucci
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!
by gmanucci
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,
by gmanucci
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. ):
by gmanucci
Wed Jan 13, 2016 1:52 pm
Forum: TopSolid'Design 7
Topic: Explicit family document
Replies: 6
Views: 7255

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...
by gmanucci
Tue Nov 10, 2015 8:50 pm
Forum: TopSolid'Wood
Topic: Recent Projects
Replies: 15
Views: 11259

Re: Recent Projects

Wow! Very nice!!
Best regards,
Guilherme Manucci
by gmanucci
Wed Oct 21, 2015 2:17 pm
Forum: Specific Development
Topic: Calculation of Face Area
Replies: 17
Views: 13310

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")
by gmanucci
Wed Oct 21, 2015 1:46 pm
Forum: Specific Development
Topic: Highlight an element
Replies: 12
Views: 7848

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...
by gmanucci
Wed Oct 21, 2015 11:18 am
Forum: Specific Development
Topic: Calculation of Face Area
Replies: 17
Views: 13310

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...
by gmanucci
Tue Oct 20, 2015 5:07 pm
Forum: Specific Development
Topic: Calculation of Face Area
Replies: 17
Views: 13310

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 ):
by gmanucci
Tue Oct 20, 2015 12:27 pm
Forum: Specific Development
Topic: Calculation of Face Area
Replies: 17
Views: 13310

Re: Calculation of Face Area

ok, but will look into all shapes or in only one selected shape?
by gmanucci
Mon Oct 19, 2015 8:50 pm
Forum: Specific Development
Topic: Highlight an element
Replies: 12
Views: 7848

Re: Highlight an element

you do meaning it?

if on v6 have the GetColor and SetColor, we can do these things!

Image
Image
Image
by gmanucci
Mon Oct 19, 2015 4:32 pm
Forum: Specific Development
Topic: Calculation of Face Area
Replies: 17
Views: 13310

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?