Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep 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
Aug 20, 2013
9
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.

 
Replies continue below

Recommended for you

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