Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selected Face Edges in CATscript

Status
Not open for further replies.

Aar0nr

New member
Joined
Aug 20, 2013
Messages
9
Location
MX
Hi, first of all this is a great forum and had been very useful to me, its the first time i post and i hope to help people here as well.

I have a doubt, is it possible to know a selected face number of edges in CATscript?

i've been trying this out:

Sub CATMain()

Set MySel = CATIA.ActiveDocument.Selection
MySel.Search "Type=Topology.Edge,sel"
MsgBox MySel.Count2

End Sub

So i select the face and it returns 0, but if a select a feature like a pad or a pocket it returns what i want, the number of edges. Thanks in advance.

 
i actually found it ferdo and it was very helpful, it was posted here

thanks a lot man.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top