I want to do something very simple but I can't do it...
I have a very simple sketch with only points.
I would like to create reference points on these points...
Of course, you can do this by taking each stitch one by one, but in the case of a sketch with a lot of stitches, it quickly becomes tedious.
We must certainly get a correct result by going through a macro but hey if we can avoid...
Are you going to tell me what for? Well in fact it's to get them in another software (Nastran) because the sketch points are invisible while the reference points are not...
@Bart, which options do you choose from everything on offer? Do you collect the points in 3D?
By going through the @gt22 method (at least the beginning, not necessarily necessary to go to Excel) you just have to check "Export sketch entities" in the export options (see image)
The dots represent the location of the floats' center of gravity.
Except that when you save the points in step or parasolid and more generally not all sketch entities are imported.
On the other hand, if I create a reference point on each of the points, then it will be visible on my colleague's software.
I understand your solutions but I don't think it's suitable for my case because if I modify the model everything has to start again... the model I will modify it many times...
And then once I have the coordinates of the points I'm no further ahead... How do I create my famous reference points from the coordinates?
The solution, unfortunately, is to get the 40 points one by one but I couldn't help but think that what is possible for 1 point must be possible for thousands... and automatically... I was wrong.
That's kind of what I thought, the macro for this kind of manipulation is essential...
Try to save in IGES by checking the option indicated above in the export options: you will get all your sketch entities (and therefore your points) in your other software!
Thank you for this tip that I didn't know about. In IGES, on solidworks I get my sketch entities well.
The problem is that NAstran doesn't recognize any sketch entities when importing. I just did the test with my colleague. My trick of going through a reference point doesn't work either...
Apparently it only imports surfaces or volumes.
What we're going to do is create a small square surface whose center is one of the points of the sketch, and then we repeat this surface with the repeat function driven by a sketch. We will therefore have all the locations of the floats.
@gt22
In fact, the initial question was how to make reference points quickly from sketch points so that these points are visible when importing into another software, in this case Nastran.
The answer doesn't suit me because you propose to extract the XYZ coordinates from the points and then enter them in Nastran via an xls file.
This doesn't suit me because by modifying the solidworks model x times you modify the coordinates of your points x times. The xls file has no links with the Solidworks model and so you retype everything at the slightest modification.
This method is very interesting though to recover the XYZ of points but unsuitable in my case today...
In any case, thank you all for your responsiveness.
We can import IGES into Nastran but without the sketch entities or we haven't figured out how... And the linked PDF doesn't tell us anything, especially since this PDF concerns a software that has nothing to do with ours.
Of course you can link excel and solidworks via a family of parts but I don't see the connection here.
Of course you can link excel and solidworks via the generation of a curve by a point cloud but I still don't see the connection here.
In short, I don't see the point of this last post, sorry.
Import The import capability allows the user to retrieve an aerodynamic model from the MSC database. Patran described in an MSC file. Nastran input, an Aero Mesh interface file, or an A502 file. The model data, including surface lift, body, control device and splines can be imported by reading an MSC input file. Nastran ( . Bdf or . Dat ) . 3D model data can be imported in two different ways. The user can read in an Aero Mesh interface file (file. Ami ) , see Appendix F for the user can read in an A502 file (inp file . ) . The import form shown here gives users access to all three import methods.
Remark: One. When reading an MSC input file. Nastran , the appropriate entities are created in the database as if the user performed the build through the user interface. The appropriate session file commands mimicking this construct are created. 2 . The aerodynamic coordinate system from the bulk data file as well as the hinge line coordinate systems are copied to the MSC database. Patran . However, if a coordinate system of the same ID already exists in the database, it is assumed that this coordinate system is used and one from the data file has not been imported in bulk. 3 . For spline information to be imported, structural nodes must already exist in the database. If you import both structural and aerodynamic models into the database, you need to import the first structure (using the option/import file of the MSC preference. Structural Patran) before using the MSC option. FlightLoads import to get the aerodynamic model. If the structural nodes are not present, the aerodynamic model is imported but not the aeroelastic model. 4 . Importing 3D model data causes the appropriate entities to be created in the database. Currently, there is no user interface to allow users to create 3D models from scratch if no commands are written to the session file.