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...
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.
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...
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...
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).
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
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...
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.
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...
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 .
Hello
While using the code given in the https://www.eng-tips.com/viewthread.cfm?qid=347231 Macro to rename and save all unique parts in a product 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...
Hello
While using the code given in the https://www.eng-tips.com/viewthread.cfm?qid=347231 Macro to rename and save all unique parts in a product 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...
Hi,
yes I have changed that part .
here is my 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...
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 .
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 .