Your SlideShare is downloading. ×
0
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Solid Edge API: Basic automation of parts, assemblies and drafts
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Solid Edge API: Basic automation of parts, assemblies and drafts

2,227

Published on

Solid Edge API: Basic automation of parts, assemblies and drafts

Solid Edge API: Basic automation of parts, assemblies and drafts

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,227
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
119
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Basic Automation ofParts, Assemblies and DraftsGreg ChasteenSiemens PLM #SEU12
  • 2. Creating a Solid Part Model Using APIWhen you create a model interactively, you always begin by creating abase feature. You then add subsequent features to this base feature tocompletely define the model. When you create a model usingautomation, the workflow is identical. Using add methods on the Modelscollection, you first create a base feature commonly using either anextruded or revolved protrusion.To create a feature interactively, you need to: Select or create a reference plane to draw a profile Draw the profile consisting of lines, arcs, etc Constrain the profile correctly Then using the appropriate feature command with the appropriate options actually create the featureFollow a very similar workflow using the API! © Siemens AG 2012. All Rights Reserved.Page 2 Siemens PLM Software
  • 3. Where to Start….. Get to know the object browser! Demo the object browser © Siemens AG 2012. All Rights Reserved.Page 3 Siemens PLM Software
  • 4. Creating a ProtrusionFirst need a ReferencePlaneWhere is this APIlocated? © Siemens AG 2012. All Rights Reserved.Page 4 Siemens PLM Software
  • 5. Specifying a Reference Plane © Siemens AG 2012. All Rights Reserved.Page 5 Siemens PLM Software
  • 6. Specifying a Reference Plane What if we wanted to create a new reference plane. Below is what it would look like to create a new standalone reference plane offset 10 mm from the front default reference plane.Other Reference Planecreation APIs © Siemens AG 2012. All Rights Reserved. Page 6 Siemens PLM Software
  • 7. Draw Some Profile GeometrySimply draws a circular profileNow constrain the profile © Siemens AG 2012. All Rights Reserved.Page 7 Siemens PLM Software
  • 8. Creating the ProtrusionFinish the ProfileNow actually Create the ProtrusionThen lastly check its status © Siemens AG 2012. All Rights Reserved.Page 8 Siemens PLM Software
  • 9. Let’s See What We Have Created so Far © Siemens AG 2012. All Rights Reserved.Page 9 Siemens PLM Software
  • 10. Continue OnSample profile with multiple segments © Siemens AG 2012. All Rights Reserved.Page 10 Siemens PLM Software
  • 11. Adding a Lofted CutoutSame as previously must specify RP, draw and constrain profile, etc justlike interactivelyIn this case: Need 7 cross sections where the start and end cross sections are fixed…. The 5 in between are spaced evenly. © Siemens AG 2012. All Rights Reserved.Page 11 Siemens PLM Software
  • 12. Adding a Lofted CutoutFirst cross-section © Siemens AG 2012. All Rights Reserved.Page 12 Siemens PLM Software
  • 13. Adding a Lofted CutoutLoop to create the intermediate cross sections © Siemens AG 2012. All Rights Reserved.Page 13 Siemens PLM Software
  • 14. Adding a Lofted CutoutLast Cross-section © Siemens AG 2012. All Rights Reserved.Page 14 Siemens PLM Software
  • 15. Adding a Lofted CutoutCreate the lofted cutout © Siemens AG 2012. All Rights Reserved.Page 15 Siemens PLM Software
  • 16. Adding a Lofted CutoutNow Pattern the lofted cutout © Siemens AG 2012. All Rights Reserved.Page 16 Siemens PLM Software
  • 17. Let’s See What We Have Created so Far © Siemens AG 2012. All Rights Reserved.Page 17 Siemens PLM Software
  • 18. Close and save the fileSave an close the Solid Edge part file. Notice the method to check if new file or existing file! © Siemens AG 2012. All Rights Reserved.Page 18 Siemens PLM Software
  • 19. What About a Synchronous ModelThe goal is to make the Part API’s transparent to whether you are insynchronous or ordered mode.The reality is there are a some places where there are differences The command in the UI has different options depending on whether sync or ordered  One example is feature pattern command… the pattern feature command in ordered has an option for fast or smart pattern. The corresponding Synchronous pattern feature does not!  Other areas that will be slightly different are things involving faces that belong to “features”  And others! © Siemens AG 2012. All Rights Reserved.Page 19 Siemens PLM Software
  • 20. Creating the Synchronous Version of the DrillThe ordered model exampleA synchronous model will not have this API. Instead you will need to addlogic to your program to identify the necessary face. Obviously, each casewill be different depending on the geometry and the need. © Siemens AG 2012. All Rights Reserved.Page 20 Siemens PLM Software
  • 21. Creating the Synchronous Version of the DrillIn this particular case this were the only two modifications needed betweenOrdered and synchronous. © Siemens AG 2012. All Rights Reserved.Page 21 Siemens PLM Software
  • 22. Creating the Synchronous Version of the Drill © Siemens AG 2012. All Rights Reserved.Page 22 Siemens PLM Software
  • 23. How to Modify Parameters of a PartYou can Modify Variables © Siemens AG 2012. All Rights Reserved.Page 23 Siemens PLM Software
  • 24. How to Modify Parameters of a PartYou can modify Dimensions © Siemens AG 2012. All Rights Reserved.Page 24 Siemens PLM Software
  • 25. API tip -- Unit Of MeasureManagementSolid Edge (database units) units are: Length: meters Mass: kg Volume: m^3UOM Functions ParseUnit  Converts user specified units to Solid Edge database units FormatUnit  Find what Solid Edge will report (not database, but from properties © Siemens AG 2012. All Rights Reserved.Page 25 Siemens PLM Software
  • 26. Had enough PPTsLets jump to the code full time!..Day SE University 2012Sample Code And UtilitiesSE BasicAutomationExamplesBasicAutomationOfPartsAssemblyandDraft.sln © Siemens AG 2012. All Rights Reserved.Page 26 Siemens PLM Software
  • 27. Thank You!Questions? #SEU12

×