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!

Search results for query: *

  1. Aar0nr

    is it possible to make an exe out of an VBA project? or to run a script outside de VB editor?

    it works now, apparently it is not neccesary to declare the variable type, as follows. Sub CATmain() 'Declaracion de variables [highlight #FCE94F]Dim spabench Dim mymeas Dim ref1[/highlight] Dim myans Dim InputObjectType(0) 'Devuelve el numero de caras de la parte Set objsel =...
  2. Aar0nr

    is it possible to make an exe out of an VBA project? or to run a script outside de VB editor?

    thanks ferdo, i will be looking a way to do it a post it.
  3. Aar0nr

    is it possible to make an exe out of an VBA project? or to run a script outside de VB editor?

    Hi guys, i was wondering if a could make an exe out of an VBA project, since i couldn't run it from VBS by pasting the code directly into it, - is there a way to run it outside the visual basic editor? - should i buy VB6 and try to run it from there? THANKs in advance. here's my code Sub...
  4. Aar0nr

    Adding a line normal 2 a surface in a loop

    hi ferdo, it works now, this is what i did: Set objsel = CATIA.ActiveDocument.Selection objsel.Clear objsel.Search "Type=Topology.Face,all" X = objsel.Count2 Dim varlinea As Integer varlinea = objsel.Count2 '********************CICLO************************* '****************Areas For i = 1...
  5. Aar0nr

    Adding a line normal 2 a surface in a loop

    i want to construct lines normal to a face using the centroid as a reference, but, some how one of the two references for addnewlinenormal is not working, it says it requires an object. what am i doing wrong? For i = 1 To X Set objsel = CATIA.ActiveDocument.Selection objsel.Clear objsel.Search...
  6. Aar0nr

    Line Normal to a surface

    by the way, the error that i came up with is '424 Object requiered'
  7. Aar0nr

    Line Normal to a surface

    i need to construct a line normal to a vector, so i can calculate a unitary vector to a certain face. i am using the command addnewlinenormal but i have to do it for a whole set of faces. Set objsel = CATIA.ActiveDocument.Selection objsel.Clear objsel.Search "Type=Topology.Face,all" X =...
  8. Aar0nr

    Selected Face Edges in CATscript

    i actually found it ferdo and it was very helpful, it was posted here thanks a lot man.
  9. Aar0nr

    Selected Face Edges in CATscript

    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 =...

Part and Inventory Search