Has anyone had any issues with "CATPrtResultWithOutLink" to paste "AsResult" not working? I'm trying to paste a product into a newly created product but nothing gets pasted in. Using "CATPrtCont" to paste "As Specified In Part Document" results in an error.
here is a quick example code:
Dim...
Hello. I've created a CATVBA program that finds all the edges of a surface and then joins them together. The problem is if there are 700 edges (a medium sized part) then it takes 5 - 10 minutes for the macro to run as it adds all the edges one by one. Is there any way to increase the speed so it...
Hello. I'm trying to hide/unhide annotations under a specific View in a CATPart. I can count the total number of views but am not able to change a View's name. I can find the specific View using Search but am not sure if there is a way to access the annotations listed under that view. Attached...
Hello. I’m trying to calculate the gs felt on a roller coaster or race car in a banked turn. This is for the ideal banked curve of angle theta where no friction is required to keep the car from sliding to the outside or inside of the curve.
The equations I’ve been given are:
Radius =...
I created a guide curve and used it to sweep a surface with z-axis reference direction. Now, I want to use the guide curve to create a parallel curve using the sweep as the support and a Law (created from a sketch) to change the height of the curve. As long as the sweep/guide curve do not self...
Hello. I have a customer whom I have sent a macro enabled workbook. The problem is she only has Excel Starter viewer which does not allow her to view macros and other features. Can anyone suggest a work around? Is there a free viewer out there which woud allow her to view my spreadsheet with...
Hello. I created a macro that exports all 3d annotation data to a Power Point. This macro only runs when working from a single CATPart. I am trying to modify my code to allow the user to have a CATProduct open, select the part to get the data, then it will run as usual and export the annotation...
Hello. I have a line (or axis) within one catpart and I want to count the number of other catparts (within the same product) that intersect this line using a CATScript macro. Or I can count the surfaces that intersect the line instead of the part bodies if that is easier. Is this even possible?
In sheet one in column A I have a list of 2000 names (some of them repeated) and column B lists each person's score percentage. In sheet 2, in column A I list each person's name exactly once and in columns b, c, d I want to list their first, second, and third best percentage. I know I can use...
I'm trying to wrtie a marco to count the number of fasteners within a single CATIA part. More specifically, I want to count the number of spot welds but I'm not sure what the best approach is. Any ideas on how to get the number of spot welds?
Here's what I have so far:
Dim partDocument As...
I'm trying to run a script from a CAD software which exports property values into an Excel spreadsheet. I need to then sort the spreadsheet by part numbers (which are located in column G) but my script is not working correctly. My data range is A1:G50. Any ideas on why this isn't working?
Const...
I have a part with three captures under an annotation set called iso view, notes, and front view which I want the script to cycle through and take a screen shot of each. I can turn the background to white and text to black but I'm not sure the code to cycle through and take a picture of the...
I'm looking for a free (or low cost) 3D CAD data viewer for CATIA files. I was thinking something along the lines of 3D Via's free downloadable player but it lacks two important functions that I must have: 1. measuring tool - must be able to measure the model
2. display 3d annotation data. It...
Are you able to write a VB script and use it to export certain properties from a CATIA .catpart to a Mircosoft Excel file? Is it possible to do this? Anyone have any experience doing something like this? I have seen a macro to export the specification tree to a txt file...
How much energy input does it take to hot stamp (hot forming, press hardening) a part versus cold stamp? I'm asking becuase I am wondering if switching from cold to hot stamping process in order to save weight in vehicles to increase fuel economy is worth the energy savings? Cars may be more...
How do you measure the weight of a roller coaster car being pulled up the chain-driven lift hill? I know the weight of the loaded train is directly proportional to the power needed to pull the train up the lift hill so I suspect you can measure the current draw from the motor but beyond P=IV I...
Hello. For learning purposes, I am trying to model a roller coaster in CATIA in small steps. My current problem is what is the best way to create banked track? I have two tubular steel rails on a straightaway and I want the track to twist from 0 degrees roll, to 45 degrees roll, then back to 0...
I have an assembly which is essentially a pulley and a counterweight. Everytime I move the counter weight up or down the connecting cables do not stay attached. I have to rebuild/update in order for them reconnect to their proper positions. Is there any way I can keep all the parts attached and...
Hello. I am attempting to design a roller coaster in CATIA to enhance my skills. I would like to know if any of you have a suggest for the most efficient way to create the cross-ties in between the rails. The rails are equally spaced 50 inches apart. I created them using the rib feature. I want...
Hello! I'm trying to simulate a new type of roller coaster in CATIA with the DMU Kinematics workbench. Currently, I can do any hills in a straight line perfectly fine (http://www.youtube.com/watch?v=7pULdDEjwZM), but I can't seem to get it to go around a horizontal curve. I have deactivated the...