Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 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: pravs
  • Order by date
  1. pravs

    Python GUI to label images

    Hello, I am trying to develop a GUI using tkinter which can label images to train a CNN. The images are SLIC images where I need to label desired segments in that SLIC image. I have the following code (attached to this) but I am unable to select segments of the SLIC image and label them...
  2. pravs

    passing one function as input to another function in SIMULNK block

    Yea I have tried searching it on google but the solutions are not clear and none of them address function handling in simulink, if you have a solution or a suggestion(helpful in solving the problem) let me know.
  3. pravs

    passing one function as input to another function in SIMULNK block

    Hello, I am trying to optimize a function using fmincon and created objective function and fmincon function in simulink .When I am trying to send objective function as input to fmincon the following error occurs. 'Objective function must be a function handle.' Can someone help me out on how to...
  4. pravs

    Macro to position CATPart and its instances at specific coordinates

    Hi, Sorry That was a typo. I used 9,10,11 only . The minor error I mentioned still remains the same.
  5. pravs

    Macro to position CATPart and its instances at specific coordinates

    Hi Little Cthulhu, The code is working, thank you so much . I am facing a minor error, I am trying to get coordinates of points where the part instances have to be positioned so I used the below lines of code. But the part instances are being placed at different x,y,z . I don't understand where...
  6. pravs

    Macro to position CATPart and its instances at specific coordinates

    Hi, The part is already inserted and is at some random position . The part and its corresponding instances have to get positioned automatically to a specific set of points( I have a macro to get coordinates of these points).
  7. pravs

    Macro to position CATPart and its instances at specific coordinates

    Hello, I am trying to create a macro to automate the positioning of desired Catpart in a product onto a desired coordinates . I know the coordinates . I tried to record a macro by using 'snap' command but the code generated was not suitable. Please help me out. Thanks in advance
  8. pravs

    macro to save multiple parts in a desired format (3d xml, stp )

    Did you asked a specialized company for a quotation to do this ? ans- No , this is my own study in minimizing the efforts required to perform the task (saving files in STP , 3dxml format) Did you asked your DS VAR for a solution for your problem ? ans - No , because the above code which I...
  9. pravs

    macro to save multiple parts in a desired format (3d xml, stp )

    hello , still waiting for the macro . any help will be great !. thanks in advance :)
  10. pravs

    macro to save multiple parts in a desired format (3d xml, stp )

    I tried .The main problem is single parts inside the assembly get saved ( instead of assembly as a product itself) , so it creates a problem .If somehow I can save single parts as CATParts and assemblies as CATProducts in one shot it will make work easier.
  11. pravs

    macro to save multiple parts in a desired format (3d xml, stp )

    Sorry for that .Can you help me in customizing the above code in order to save parts in required format !.
  12. pravs

    macro to save multiple parts in a desired format (3d xml, stp )

    I have to upload cat parts from local folder and get them converted into the required format if I use Utility option . I don't have the catparts (installation 3d models) saved locally . I load them from ENOVIA and have to save each locally in the required STP , 3dxml format .If it can be done by...
  13. pravs

    macro to save multiple parts in a desired format (3d xml, stp )

    Hi, the problem is as shown in the image I need to save all the parts in specific format .Ex- Single parts as individual STP files , and assemblies as individual STP files .
  14. pravs

    macro to save multiple parts in a desired format (3d xml, stp )

    ...etc. Option Explicit Sub CATMain() Dim iCount As Integer Dim sSuffix As String Dim sNewName As String sSuffix = "_00" 'To avoid save as warnings********* CATIA.DisplayFileAlerts = False Dim productDocument1 As ProductDocument Set productDocument1 = CATIA.ActiveDocument Dim product1 As...
  15. pravs

    saving single parts and products individually in STEP format in an installation

    ...etc. Option Explicit Sub CATMain() Dim iCount As Integer Dim sSuffix As String Dim sNewName As String sSuffix = "_00" 'To avoid save as warnings********* CATIA.DisplayFileAlerts = False Dim productDocument1 As ProductDocument Set productDocument1 = CATIA.ActiveDocument Dim product1 As...
  16. pravs

    help in saving single parts and products in an installation

    ...code Option Explicit Sub CATMain() Dim iCount As Integer Dim sSuffix As String Dim sNewName As String sSuffix = "_00" 'To avoid save as warnings********* CATIA.DisplayFileAlerts = False Dim productDocument1 As ProductDocument Set productDocument1 = CATIA.ActiveDocument Dim product1 As...
  17. pravs

    help in saving single parts and products in an installation

    Hello While using the code given in the thread560-347231 an error regarding 'save as' pops up . can someone post generalized macro to save cat parts , cat products etc in desired formats like 3dxml , stp etc. thanks in advance .
  18. pravs

    macro to automate view and capture creation in 3d fta workbench

    Hi I need to generate and capture principle views in 3d fta workbench for multiple parts .Is there a code for that . I tried recording but it doesn't generate any code in fta workbench . Thanks in advance .
  19. pravs

    Extract title block info like sheet size, version of drawing etc to an excel or text file

    Hi, I need to do it for multiple files , sry I did'nt make it clear , I have roughly 300 drawings , so it is painful to do it for all .

Part and Inventory Search