Does anyone know where to find information on adding libs, dlls, headers to CATIA's framework so that I can use external components?
Thanks for the helP!
Does anyone know a good way to determine the chord height and angle control values to pass to prodb_surface_tessellate? I have a simple algorithm but doesn't produce desirable results all of the time. Just curious if someone had a good algo.
Thanks for any help!
I'm playing with textures some and am confused about some of the features. First, when I apply a texture to a surface, the texture is not stretched to fit the surface. Instead, the suface seems to broken into many squares. Is this right? Is the surface subdivided in this fashion? Secondly...
How can you iterate over all of the 2D/3D sketches? All of the examples I've found assume that there is an active sketch and all information is pulled from this active sketch. Any help would be appreciated!
I was wondering how common the use of the PTC image formats (.imf, .tx1, .tx3, and .tx4) was. I'm particulary interested in .tx3, but would be interested in all of them. Also, how popular are the .rla and .pic (SHIMA-SEIKI) formats? I've never heard of these format before playing around in...
Does anyone know how to change the background color of the graphics window? By default it is a blue to white gradient. Is there an API call for this also? Thanks for any help!
I'm attempting to get extract some data about cosmetic threads. A piece of my code is below. The last line in the if block is crashing and I was hoping someone could point out why. It can't be because spThreadFeature is not valid because it is used in two previous statements. Thanks for any...
Does anyone know where to find a comprehensive list of supported texture formats for Solidworks? In the textures help topic, if you click on the "To create custom textures:" link, you will read that custom textures must be in .bmp, .jpg, or .png. Is this all the formats that are supported...
Does anyone know how to get the cosmetic thread data through the API? I cannot seem to be able to get that data for the 3D model or the drawings.
Also, does anyone know how to get the centerline in a drawing through the API?
Thanks for any help!
Does anyone have an example of a simple model with a cosmetic thread in it? I'm trying to understand how they work and what they look like in Solidworks, but have been unsuccessful. When I try to create one, I just get a 2D circle on the surface. Is this all that usually can be seen?
Thanks...
When I create a threaded surface, you can only see the threads when you click on the cosmetic id in the browser. Is this correct? Are threads in ProE stored as geometry and not textures? Also, I want to create a spiral thread, e.g. a screw. How do I create this thread?
Thanks for any help!
I'm trying to extract 3D annotation information through the API and am having some problems that I was hoping someone could help with:
1) I can't find a function to determine the text color.
2) I can't find a function to get the leader information.
3) Sometimes text height and width come...
Does anyone know how to extract assembly feature data? For example, say I have a part that is just a cylinder. I then add this part to an assembly. In the assembly, I then put a hole through the cylinder. When I attempt to extract the geometry, I do not get that there is a hole there, but if...
Does anyone know how to get an image of the currently opened model through the API? It would be nice to be able to save it out as a jpg, bmp, png, ...
Thanks for any help you can give!
I am attempting to extract drawing data from a SolidWorks file through the API and have found that Solidworks drawings are stored as 3D objects that can be rotated, etc. Why is this? Does anyone know how I can just get the 2D drawing information?
Thanks for any help you can give!
Does anyone know how to or know where I can get good examples of using the API to extract data? Specifically, I am trying to extract texture information from a model and am having problems. I am using the prodb_surface_tessellation function, but I get back all 0.0 values for my u,v...