Modifying Deck Profile Type in Floor Type Compound Structure

By Mikako Harada

Issue

I want to assign a different deck profile to a floor type. In UI, you can do this by simply selecting a deck profile:

DecoProfile100

However, if we try to achieve the same thing using the API, only the deck profile is updated. The thickness remains with the previous value. What am I missing to make this work?  I used the following call to do this:

  Dim compStr As CompoundStructure = myFloorType.GetCompoundStructure

  compStr.SetDeckProfileId(0, myProfileType.Id)

  myFloorType.SetCompoundStructure(compStr)

Solution

Unfortunately, as of January, 2013, this is a known issue and needs to be addressed by the product team.


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading