When I create a beam using BeamProfile.CreateFromLibrary a CreateBeamProfileResult object is returned with valid data like Success = True and a valid beamprofile. When I use BeamProfile.CreateCircular or other beamsection types no valid data is returned. Even though the profile is created (!) the Success value is False and the beamprofile=None. When I use the CreateBeamProfileResult .GetCreated Method the following is returned:
Related command does not track objects, unable to process request.
An alternative would be to retrieve the latest created profile from the Structure Tree using:
rp=GetRootPart()
comps=rp.Components
Now comps contains the beam profiles but they are of type Component and not a beamprofile that can be used with Beam.Create. Is it possible to convert the component to a beam profile?