1 Answers
A:
Step 1: Create a Skeleton Part
Frame Generator requires a skeleton part with lines or edges to define member placement. Since you already have workpoints, you can:
Step 2: Insert Frame Members
Use the FrameMemberDefinition and FrameMember objects from the Frame Generator API to insert tubes or beams between your sketch lines. Here’s a simplified VB.NET-style pseudocode:
Dim oFrameCompDef As AssemblyComponentDefinition = oAsmDoc.ComponentDefinition
Dim oFrameGen As FrameGenerator = oFrameCompDef.FrameGenerator
' Loop through your sketch lines
For Each oLine As SketchLine In oSketch.SketchLines
Dim oDef As FrameMemberDefinition = oFrameGen.CreateFrameMemberDefinition(oLine)
oDef.FamilyName = "Structural Shapes"
oDef.MemberName = "Tube: Square"
oDef.Size = "50x50x5"
oDef.Material = "Steel"
oFrameGen.AddFrameMember(oDef)
Next
You’ll need to reference the Content Center for member families and sizes.
Find the Best CAD Software
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers