Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross 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. PrasannaNX

    CATIA macro send to

    Hi Ferdo, I guess there is a typo in your reply. To use SendTo API we need either PX1 license or Smart Team Plugin to Catia. Or it is better to workaround with the way Little Cthulhu suggessted.
  2. PrasannaNX

    Finding Tangent curves/edges

    @rickyt, Thanks for the suggestion, will try and let you know. @LWolf, Yes, your guess is partially correct, I am from NX. I have various tube files with center curves and all were in smart team with read only access. The center curves are separate curves and not joined, and there are other...
  3. PrasannaNX

    Finding Tangent curves/edges

    @Little Cthulhu, I want to find tangent edges of selected edge from a part body. @LWolf, Thanks for the suggestion. Can it be done without creating any additional feature? - Prasanna M
  4. PrasannaNX

    Finding Tangent curves/edges

    Hi, Say, I have a curve/edge object to my selection. How do i get tangent curves/edges of the selected object? I have already searched the forum, but couldn't find any relevant posts. Please guide to achieve the above. Thanks, Prasanna
  5. PrasannaNX

    GetCoordinates of a Point in Drawing View

    @Little Cthulhu, Follow-up question of my original post. Will there be a need of using CATIAReference object in drawing? If yes, how do i actually create a CATIAReference in drawing document? Just to know in case i come across a case where i need to use CATIAReference in drawing in future...
  6. PrasannaNX

    GetCoordinates of a Point in Drawing View

    You are correct. I overlooked the code. Thanks. Sub Main() Dim catDrwDoc As DrawingDocument Set catDrwDoc = CATIA.ActiveDocument Dim catDrwSel As Selection Dim catDrwSelLb As Object Set catDrwSel = catDrwDoc.Selection Set catDrwSelLb = catDrwSel Dim objFilter(0) As Variant objFilter(0) =...
  7. PrasannaNX

    GetCoordinates of a Point in Drawing View

    Hi, I am using Catia VBA Editor for finding the coordinates of a point in drawing view. For some reason "GetCoordinates" method of Point2d object doesn't return anything in VBA. The same is working fine with C#. Exact issue as mentioned in this thread...
  8. PrasannaNX

    "Translate" API

    Thanks for the idea @Little Cthulhu. I am doing the same. Since Selection.Paste doesn't return anything. Is there any way to get the object of pasted text? Will my pasted object always in the last index of the collection (In this case Texts)? Thanks, Prasanna M
  9. PrasannaNX

    "Translate" API

    Hi, I am trying to create instances of a drawing text using "Translate" function. Refer the attached image. I want to automate this, but i couldn't able to find any API for the same. Is there any API for "Translate"? Thanks, Prasanna M...
  10. PrasannaNX

    Catvba Updated constraints

    I guess both broken and unupdated constraints comes under "catCstStatusKOBroken". Prasanna
  11. PrasannaNX

    CATIA Portable Script Center v2.0

    Thanks ferdo, This will surely help me a lot. And thanks for presenting it in chm format. Great work!!! - Prasanna
  12. PrasannaNX

    Catvba Updated constraints

    Make sure to check osel object count is greater than zero before osel.Delete -Prasanna
  13. PrasannaNX

    Catvba Updated constraints

    Please try with below code Sub CATMain() Dim productDocument1 As ProductDocument Set productDocument1 = CATIA.ActiveDocument Dim product1 As Product Set product1 = productDocument1.Product Dim my_constraints As Constraints Set my_constraints = product1.Connections("CATIAConstraints") Dim...
  14. PrasannaNX

    INFITF.Collection class doesn't have Item method.

    Hi, I am trying to create an extension method to convert INFITF.Collection to a Generic.List. Please refer my code below. But INFITF.Collection class doesn't have Item method to get the object. How can i workaround this? Reason why i need this is while looping some collection in catia CAA...
  15. PrasannaNX

    Catvba Updated constraints

    Sub CATMain() Dim productDocument1 As ProductDocument Set productDocument1 = CATIA.ActiveDocument Dim product1 As Product Set product1 = productDocument1.Product Dim my_constraints As Constraints Set my_constraints = product1.Connections("CATIAConstraints") Dim osel As Selection Set osel =...
  16. PrasannaNX

    How to get object from reference (CATIAReference)

    Yes i noticed that Cthulhu. Even if i use the slash delimiter and get the string i am searching for. How do i use the string(Part name) to get its object? Actually i am looking for something similar to this API FindObjectByName which is under Part object. Anyways thanks for your help, for now...
  17. PrasannaNX

    How to get object from reference (CATIAReference)

    Thanks Cthulhu, It worked. Is there any other way to find it?
  18. PrasannaNX

    How to get object from reference (CATIAReference)

    Hi, Is there any way to get object from reference (CATIAReference)? I have already tried searching the forum but couldn't able to find any relevant thread. INFITF.Application catApp = (Application)Marshal.GetActiveObject("Catia.Application"); ProductDocument catProdDoc =...
  19. PrasannaNX

    [Automation] CATIA exception class?

    Hi, Does catia have exception class like in NX we have NXException class to handle exceptions? If not, how can one handle exception in catia? Thanks, Prasanna M
  20. PrasannaNX

    GetFaces of a specific Shape say Pad.1 Using Catia API

    Thank you both, this is exactly what i am looking for. Sorry for the newbie question. Thanks, Prasanna M

Part and Inventory Search