- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I need to understand some concept regarding the creation of section database users and how they work. I have a problem and it is possibly due to lack of knowledge of how it works:
- I have a user database in this path: C:\Users\"user"\AppData\Roaming\Autodesk\Structural\Common Data\2025. Everything is fine, robot finds it and can generate sections when I start an instance of Robot.
But then, when I create a new element in the user db, and later I try to generate the section to asign it for a member by API code by following code (or trying to create it in a manually way)
Set SecLab = lab_serv.Create(I_LT_BAR_SECTION, new_secc)
Set SecData = SecLab.data
SecData.MaterialName = "S 355"
SecData.LoadFromDBase2 new_secc, SDName
lab_serv.Store SecLab
....The section is not properly created because it seems Robot doesn't find this new element in the user database, although the element (section) is saved in the database, this is like Robot doesn't know the database has new elements. The only way to generate this new section is re-starting Robot.
Is there some way or some API code to refresh the db in Robot and to avoid "close and open" Robot?
2. It seems not all parameters to define a section in a database are mandatory because then for the steel design checks, Robot calculates some of the mechanical properties by itself if the value is set as 0 in the database. For example the MSY and MSZ values (plastic section modulus).
Thanks in advance.
Solved! Go to Solution.