HyperSizer Support Forum

Software Use => Scripting => Topic started by: RD on December 22, 2011, 06:52:16 PM

Title: What are the Circular Beam Family concept IDs
Post by: RD on December 22, 2011, 06:52:16 PM
What are the Circular Beam Family concept IDs?

ConceptID = oComp.ResultBeam(bcrConcept)

In version 5 the ID 1 used to be for "circular tube" and 2 was for "elliptical tube".
Around Version 6 added the "Tapered Circular Tube". I assumed ID=3 would be used for that, but it seems not to be the case.

Could you provide the IDs for the 3 concepts? Any reference in the help?
Title: Re: What are the Circular Beam Family concept IDs
Post by: Ryan on December 27, 2011, 02:39:16 PM
The concept ID for the tapered tube should be 3. Is this not what you observed? The component needs to have results in order to get the concept ID.

Concept IDs are not used directly in the API. To get the concept name you will need to use the Description.FamilyConceptText() method.

-Ryan

Code: [Select]
Dim oDescription As HyperSizer.Description

Set oDescription = New HyperSizer.Description

Debug.Print oDescription.FamilyConceptText(oComponent.Parent.Family, oComponent.ResultBeam(bcrConcept))
Title: Re: What are the Circular Beam Family concept IDs
Post by: RD on December 28, 2011, 11:06:19 PM
Thanks Ryan,

once I made sure I had results I got ConceptID=3 for the tapered circular tube.