Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SDETERS 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: *

  • Users: AlvaroPers
  • Content: Threads
  • Order by date
  1. AlvaroPers

    SelectElement2 is lost if I click

    Hello, If I call the method "SelectElement2", I select the proper element, all ok. But, at this point (with the selected element "loaded") if I click in the 3D workspace or anywhere, the selection is lost. So, if the end user make a click before using the selected element, the selected element...
  2. AlvaroPers

    DMU Fitting constraints part movement

    Hello, For those who are familiar with the DMU Fitting workbench: While doing a track, you can pick a lose part of an assembly. Is it possible to move the part and move the whole assembly according to the constraints, just by picking the part? For example: a robot, if I move the tip of the...
  3. AlvaroPers

    Raster mode visualization "shading"

    I quote here a post with an unsolved question, at least for me. thread560-460083 Does anyone knows how to change the raster mode option to "shading" programmatically? Thanks, Al.
  4. AlvaroPers

    Generate Balloons command disable when using code

    Hello, When creating a drawing document and adding a new view programmatically, I end up with the Balloon Generation button greyed out. Instead, if I do the same manually, I can use the "generate balloons command". Why the button is disabled when I use the code? Sub...
  5. AlvaroPers

    DLNames activated or not? How to know.

    Is it a way to know through code if DLName is activated? I don't see such a method under the "DLNameSettingAtt".
  6. AlvaroPers

    The "Undo" Problem after running a macro

    thread560-95318 Hello, I have the following situation: I run a program (using visual basic under Visual Studio) to change instances name. The program works just fine. I have the following lines in case the user "cancel" the renaming and wants to go back with the changes: Private Sub...
  7. AlvaroPers

    Refresh CATIA tree spec

    thread560-450512 There was a thread unsolved and closed. I have the same question. Do anyone knows how to refresh the tree ? The method "CATIA.RefreshDsiplay = true/false" doesn't work well. Thank you.
  8. AlvaroPers

    CATIA - Excel Object variable not set (Error 91)

    Hello, I have the error "Object variable not set (Error 91)" I don't even know where to start solving this. In the attachment there's a very simple code that I can't move forward because of the error. Any help will be very welcome...
  9. AlvaroPers

    CATIA to Excel Object Library

    Hello, I have the same problem to this post here: https://www.eng-tips.com/viewthread.cfm?qid=350341#post But, I can't come up with any solution. VB is still showing: "compile error: User-defined type not defined" I tried all cases: "workbooks", "Workbooks", etc, nothing works. Only...
  10. AlvaroPers

    Line color in the Drawing frame (CATIA)

    Hello, I'm using MS VB to draw a frame in the drawing. I would like to know the method to set the line color? Sub Frame() Set oDrwDoc = CATIA.ActiveDocument Dim oFact As Factory2D Set oFact = oView.Factory2D Dim dW As Double Dim oLine As Line2D Dim dH As Double dW =...

Part and Inventory Search