Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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. sanganaksakha

    RootParameterSet not working - CATIA API

    Thanks. Does it mean RootParameterSet can contain only DirectParameters (User Parameters)? Then what parameters the AllParameters contain in addition to DirectParameters.
  2. sanganaksakha

    Cotation in automatic all objects inside sketches of a part

    Sorry, but what do you mean by Cotation? Can you explain the sequence of command if you were to do it manually?
  3. sanganaksakha

    Need Help with Auto Dimension Macro

    Hello, See if this works for you. Insert a sketch point in 'Drawing View3' at the desired point. Select the sketch point. (Make sure that no other object is selected.) Then run the following code. Option Explicit Dim swApp As SldWorks.SldWorks Dim Part As SldWorks.ModelDoc2 'Dim swmodel As...
  4. sanganaksakha

    Symbols in API - Collaborative Task

    That's the first thing I always do. Could not find anything remotely related.
  5. sanganaksakha

    Symbols in API - Collaborative Task

    Last week when I was exploring about dimension styles. I recorded a macro adding box as prefix to a dimension as a part of this learning. The statement recorded was: boolstatus = ModelDocExtension1.EditDimensionProperties(0, 0, 0, "", "", True, 9, 2, True, 0, 0, "<MOD-BOX>", "", True, "", ""...
  6. sanganaksakha

    Distance between 2 parallel planes.

    Solved!! The problem was somewhere else and finally I could figure it out. Everything works fine now. I converted it into VB 2017 community dll and the dll works fine, at least for the trial part, in the calling program. I was processing planes in different subs and in one of the subs they...
  7. sanganaksakha

    Distance between 2 parallel planes.

    OK! Give me some time.
  8. sanganaksakha

    Distance between 2 parallel planes.

    I have VB 2017 community, but because of familiarity I am initially doing it in VB Express 2010. When I compile (build), I get the following out put. ------ Build started: Project: catBB10, Configuration: Release x86 ------ catBB10 ->...
  9. sanganaksakha

    Distance between 2 parallel planes.

    Without any problems. That's why I am confused. I have tried every trick, but can't get a clue as to why this is happening. See attached image.https://files.engineering.com/getfile.aspx?folder=ca29ae31-f494-47fe-8f10-7c2efa1e71c6&file=DistBetPlanes.png
  10. sanganaksakha

    Distance between 2 parallel planes.

    It is already imported. In rest of the program it is working. I am creating two planes, moving them by some math and then measuring the final distance with them. Only at this line it gets stuck. That's why I am puzzled.
  11. sanganaksakha

    Distance between 2 parallel planes.

    Thank you Tiago, It works in VBA. How ever, in VB.net the line MinimumDistance = TheMeasurable.GetMinimumDistance(reference2) gives an error "HRESULT E_FAIL has been returned from a call to a COM component" Also how can we see properties and methods on CATIA COM components in VB.net?
  12. sanganaksakha

    Distance between 2 parallel planes.

    See Attachedhttps://files.engineering.com/getfile.aspx?folder=e30efd39-7ebf-4f0a-912b-7704eebd7acc&file=Untitled.png
  13. sanganaksakha

    Distance between 2 parallel planes.

    1d - Parallel planes.
  14. sanganaksakha

    Distance between 2 parallel planes.

    How can I get the distance between 2 parallel planes using VBA? The planes are in a geometrical set in a part.

Part and Inventory Search