Reply

How to create a thread feature?

[ Edited ]

 

Hi,

I'm new in SE programming,and now i face a poblem.I need to create a thread feature on a cylinder,but when i use this API:

Set objThread = objModel.Threads.Add(Holedata:=objHoleData, _

                                                NumberOfCylinders:=1, _

                                                CylinderArray:=objCylinderArray, _

                                                CylinderEndArray:=objEndArray)

it always fails.Can anyone tell me where the mistake is ?

BTW,in "Programming with Solid Edge",it says CylinderEndArray is a array of faces,but in modeling,we select edge as the end of the cylinder.why?

Thanks!

 

Posted by: tiger wong
Post date: 3/2/2009 7:02:19 PM

3 REPLIES

RE: How to create a thread feature?

[ Edited ]

Hi,

I have the same problem, i've to create a thread on a cylindrical protusion, I use that API, but i cannot understand what should I set as CylinderArray and CylinderEndarray!

Anyone can help me??

Thanks!

 

Alessandro

 

Posted by: Alessandro Morbidoni
Post date: 4/5/2011 2:18:49 AM

RE: How to create a thread feature?

[ Edited ]

Same here. Looking for visual basic macro code.

 

 

Posted by: marek heero
Post date: 6/6/2011 5:18:54 AM

Re: How to create a thread feature?

[ Edited ]

Did you find a solution? I've got the same problem.

So many views and no one can give an example?

Greetings from Germany
Christian Kunkel
https://c-k-m.info