We use cookies to operate this website, improve its usability and track visits. Please note that by using this site you are consenting to the use of cookies.
Learn More |
Search results from your query.
Categories:
Sort:
Currently my company uses a stacked balloon for toolbox items. I'm trying to create a macro that selects all balloons on a sheet then checks to see if they are a toolbox item. & if so adds a stacked balloon to the original balloons, in a specific format. What i have so far...
SOLIDWORKS Forums
5 hours ago
I am trying to display a part’s custom properties on the drawing sheet using a macro but did not find exact the function to do it. Tried cusPropMgr.Get5, swModel.Extension.CustomPropertyManager() etc but seems cannot get it done.
SOLIDWORKS Forums
16 hours ago
Is the any macro or any equation or any otherway that would help me to copy selected customer properties from part to drawing custom properties. As i am working with EPDM i need to fill same vaule in both part and drawing.
SOLIDWORKS Forums
19 hours ago
Question is self explanatory. I'm selecting edges using Select4 and the selection is returning true, however, SketchUseEdge3 is returning false. Has anyone encountered this behavior and how to workaround it?
SOLIDWORKS Forums
1 day ago
In API of Solidworks, with excel function. Calculate Str. Set Xls = GetObject(, "Excel.Application")
SOLIDWORKS Forums
1 day ago
I have a macro that creates curves through XYZ points on the YZ plane which are converted to sketch entities for a revolve by selecting the curves and using SketchUseEdge2. The curves can take any shape from flat to circular. This function works well except when the curve is originally defined as a straight lines.
SOLIDWORKS Forums
2 days ago
I created a macro that can perform an automatic swept cut for continuous sketches, such as the letter M. Below is the code. I select the first point and line of Sketch2, insert a reference plane that is orthogonal to both of them, sketch a circle on the new plane and start a swept cut through Sketch2 with the help of the circle, which is Sketch3.
SOLIDWORKS Forums
2 days ago
I'm working on a macro that add some circles to a face. I'm using: swModel.SketchManager.CreateCircle (0#, 0#, 0#, HoleDia) to create the circle
SOLIDWORKS Forums
2 days ago
MouseSelectNotify I tried to use MouseSelectNotify to locate the mouse pointer location in x,y,z and the unit looks confused to me. Would someone here please explain the unit of these values of x,y,z
SOLIDWORKS Forums
2 days ago
I have part files that sometimes go up to more than 100 configurations. Is there a way in a drawing, to have a macro create a view of every configuration and place the name of the configuration under each view? The scale would have to be 1:1 for each part and not be used for drawing purposes but to automatically update each configuration when a change is implemented.
SOLIDWORKS Forums
2 days ago
My code is similar below: static void Main(string[] args)
SOLIDWORKS Forums
2 days ago
I am writing a macro to set a few properties of the cut list items. Pre conditions : a few cut list items are selected.
SOLIDWORKS Forums
2 days ago
I often have to calculate the weld length of native models to calculate the time needed. For this I wrote a small tool which selects all inner edges of a surface and calculate their length. This works so far very well.
SOLIDWORKS Forums
2 days ago
I'm extruding my sketch in loops for example 4. But after first iteration i.e. after extruding sketch at index 1, FeatureExtrusion3 fails.
SOLIDWORKS Forums
2 days ago
I have rectangle sketch. Then I extrude this rectangle sketch to form a solid bar. Later, I want to translate this bar at different location and also perform some more rotation operation.
SOLIDWORKS Forums
2 days ago
Is it possible to copy a sketch(with dims & relations) from a part(not open) to an active part via VBA....i know it can be done manually with both open. But would like to copy some sketches from some master files, into working files. I suggest you open the master file in code.
SOLIDWORKS Forums
2 days ago
can we edit assembly bom table using C#, can anyone provide me proper guideline for it. Editing could be anything like adding or deleting rows or columns or something else. Could you explain in detail, what exactly you would like to achieve and what is your starting condition (e.g. whether BOM tale is already created in the drawings and selected etc.)?
SOLIDWORKS Forums
2 days ago
I got a macro to create a layers in assembly drawing by the name value of custom properties. I'm facing some error while processing pattern components in assembly. If I have any skipped components in pattern, there its getting an error.
SOLIDWORKS Forums
2 days ago
I need to get all faces perimeter of a selected feature. I found similar macro to find Area of a selected feature. But I don't know how to get Perimeter.
SOLIDWORKS Forums
3 days ago
I wonder if there's a way to tell if a file is deleted through the API using the File and Folder ID. Is deleted like a hidden workflow state? We create 2D template .dwgs to send out when we order steel.
SOLIDWORKS Forums
3 days ago
How to edit the hatch pattern for a particular component in a particular view in the drawing file using C#? I do not think Set is implement for Hatch, only get property is there.
SOLIDWORKS Forums
3 days ago
I tried to put try catch statement into a working code because I want to display a message if the file is not found. However, I think the syntax has problem in my code. See attachment
SOLIDWORKS Forums
3 days ago
Hi friends ; I used this macro to traverse the tree manager and select " planarsurface " or " 3Dprofilefeature" if exist ! the problem that when I run the macro it select " palanarsurface" onlu not twice !
SOLIDWORKS Forums
3 days ago
Hello friends ; I have two faces in assembly and I would like to check interferences between them.ere there a method to do this . thank you very much Thank you dear friend sfor your answer.However this function detect interferences between just component not faces only !
SOLIDWORKS Forums
3 days ago