After several of the above training, the object model of SolidWorks should have a general understanding of the operating mechanism of the program is also clear. It will become more and more easy to master slowly. The following picture links are the SolidWorks object model. As a reference, it is good to have a function or to control a function without knowing where the API is hidden:
Overall structure: Sit
Data SolidWorks two times development -04-modify data
The last time you have access to the parameters of the feature, today we will modify it:
To modify the previous steps is not less, when we can read some of the features, we can give him a set of values. Of course, sometimes you need to invoke a specific parameter. SolidWorks is OLE and COM, so get used to it.
You need to call function modifydefinition
SolidWorks learns 1. Basic Knowledge points Summary Datum view main: Look back from the front, top of the baseline: from the top down, the upper view of the baseline side view: Right-to-left, right-looking datum sketch requires a single seal, sketch to be attached to a position
Draw approximate shape
Determining relations, location relationships, positioning dimensions
Callout Sketch Shape dimensions
Shortcut key zoom: Middle key
This article is a problem encountered in the actual development process. I have received help from my colleagues and would like to thank you.
In the secondary development process of SolidWorks, the asynchronous mode is used, and the following code has a problem in use (where the problem may occur, I have watched it)
BOOL CSWFun: GetProfileLength (CComPtr
After the code is changed to the following, it will be normal
BOOL CSWFun::GetProfileLength(CCo
When you open a new part, the first feature you generate is a sketch. A sketch is the basis of a 3D model. A sketch generates an entity after being stretched, rotated, scanned, or loosed, and then modifies the entity. This is the general modeling process of SolidWorks.
To insert a sketch, you must first determine its placement plane. It can be a preset reference plane or a user-painted reference plane. Or a plane on the object.
The three main inform
Many people feel that the creation of the entity is simpler than the surface and the sheet metal, so here are some ways to convert the entity to sheet metal in SolidWorks.
1, here at random to draw a step entity, and create a cut sketch, finished using the conversion sheet Metal command.
2, according to the steps to select the fixed surface and bending line, and then make a cut
3, the width of the inc
SolidWorks How to draw a hinge hole bolt two-dimensional engineering drawing?
1, click on the blank page "new" frame to the right of the drop-down arrow, select "From parts/assembly drawings to make engineering drawings"
2, select "A4" Engineering drawings, click "OK", into the engineering drawing editor
3, you can see the right side "drag the view to the engineering drawing drawings", which "on", "after" and "isometric" t
SolidWorks API Help is still very comprehensive, there are many see simple and effective procedures, all day in the API help bubble, and now the speed of the program is faster. It's like I've been recording macros in Excel all day long to see the code. The following program is in the API help to show all parts of the assembly. I use it for my colleagues, they feel good:). The program uses a simple recursive method to traverse the assembly.
Make all As
The original blog link in my official website, the URL is: http://www.aobosir.com/blog/2017/02/19/SolidWorks-how-to-draw-through-points/
Penetration points are: between two sketches, one of the points in the sketch penetrates a line within another sketch.
First of all, you draw two sketches first.
Then go to one of the sketches in which you want to select the point , and edit the sketch .
Select the point First, then hold down the Ctrl key and s
Visit | Visit SolidWorks Two development -02-two APIs for accessing features
To learn two APIs:
SelectByID2 and GetSelectedObject5. The first of these functions is to select the object by giving the name of the object. The second gets the object by the index that was selected before the program was enabled.
Look at the following program:
Option Explicit
Dim Swapp as Sldworks.sldworks
Dim Model as ModelDoc2
Dim feature as Feature
Dim Boolstatus
So I would like to use a convenient to call and update the method to achieve, the result is fulfilled. Let's summarize this technical point as follows:
Before this I also looked for the current network of the most popular approach to the implementation of the scheme, summed up a total of 7 methods, but found that their methods are more or less flawed, and later I made my own feel satisfied with the method.
Look at the 7 most popular practices on the web today:
1, no picture of the pure CSS ro
I am talking about the pure code, refers to the use of the picture to achieve rounded corners, the picture to achieve the fillet, here do not say.There are 3 main ways to achieve rounded corners in pure code:First type: CSS3 fillet
#chaomao{border-radius:2px 2px 2px 2px;}
The above code means the top left, top right, bottom right, bottom right, respectively, 2px rounded corners.Of
Rounded Corners (Roundercorner) are a very common view effect, which is softer and more acceptable than the right angle. But many people do not know how to set the correct way and the principle of fillet. Setting the fillet can lead to some performance loss, and how to improve performance is another topic to focus on. I looked up some of the available information and learned a lot and found some misleading
Let IE browser support CSS3 fillet, in IE browser to achieve the effect of rounded corners, generally we will use the way to achieve the fillet picture. Can we use the CSS3 style to achieve the fillet effect of the page?
Below we will introduce some in IE browser through CSS3 to implement the method of fillet, how to
if you want to achieve the effect of fillet in IE, we will generally use the way of rounded pictures. With a picture, it doesn't have much to do with the browser, because any browser supports this approach. In this article we mainly explain if the CSS 3 style sheet to achieve the fillet effect, it is worth noting that the IE6/7/8 three versions of IE browser does not support the parsing of CSS 3, only the l
Web page Production WEBJX Article Introduction: The page of the implementation of the fillet is a very headache, although there are many ways to implement, but it is more troublesome. In this article, let's look at how to use CSS3 Border-radius to implement rounded div. The implementation of the fillet in the page is a headache, although there are now
The implementation of the
effect. So, when we implement some interaction effects, such as hover change, we can focus on the effect itself, without being swayed by the layout, which is a great experience.
4. Right Angle! Rounded corners?Just a connecting link.
Second, outline angle and fillet
One of the existing effects:
A row of 60*60 pixels of the right angle picture, the selected picture frame 2 pixel with rounded corners highlighted. Browser compatibility requirements,
Advantages of 1.CSS3 FilletFor a traditional fillet generation scenario, you must use multiple pictures as background patterns. The advent of CSS3 makes it unnecessary to waste time making these images, and there are several other advantages:
Reduce the amount of maintenance. Image file generation, updating, writing Web page code, these jobs are no longer needed.
Improve Web page performance. The loading speed of the Web page w
Frontier:now online casually enter a round corner button will appear a lot of blog and article tips to do such an effect, but that is mostly XML files to do, there is a big drawback, because every time you need to rewrite the XML file (even the simple change of the color of the button needs to be modified). ~ ~ for what? Because do not modify the concubine can't do!!! Today we'll take you on a real round button, so let's look at the effect. text dry start:obviously our button background is we wa
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.