News: Need training? HyperSizer Training Videos are available now! Learn more here: https://hypersizer.com/trainingevents/e-learning/

Author Topic: What are the Circular Beam Family concept IDs  (Read 20496 times)

RD

  • *
  • Posts: 5
    •  
What are the Circular Beam Family concept IDs
« 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?

Ryan

  • Administrator
  • *****
  • Posts: 145
    •  
Re: What are the Circular Beam Family concept IDs
« Reply #1 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))

RD

  • *
  • Posts: 5
    •  
Re: What are the Circular Beam Family concept IDs
« Reply #2 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.