2019-08-25 02:50 PM - last edited on 2022-10-04 04:24 PM by Daniel Kassai
2019-08-27 01:34 PM
2019-08-27 04:32 PM
Ralph wrote:Yes, I have a publisher set selected. As I said, I also tried to print something after if(selected!=DG_TVI_NONE) and nothing print, so it didn’t even got something vaild into “selected” variable
Just to get the obvious out of the way first, do you have something relevant selected in the Navigator palette when you test this function?
2019-08-28 10:58 AM
2019-08-28 01:51 PM
Ralph wrote:Yea I also guess my approach was wrong.
I think that's likely to be the wrong approach. If I remember correctly, that example builds its own palette showing the navigator hierarchy, so the tree view and displayed items all belong to that add-on. I don't believe you can use that approach with palettes that belong to ARCHICAD, and I'm not aware of an API call to tell you which items are selected either. Possibly someone from GS might have a suggestion.
2019-09-04 02:44 PM
2019-09-05 08:52 AM
Mihály wrote:Yep, I now understand what it should do. Thanks!!
Hello,
do you thinkstatic void UpdateTreefunction in NavigatorPalette.cpp? If you do then this function update the tree in Navigator Test palette. You can see it by yourself:
I hope my answer is useful for you.
- Navigator Test's pop-up (at the top) set to
Project Map- Go to 'Project name'/Elevations in palette's tree
- Create an elevation in 2D view with Elevation Tool (it is in Toolbox)
- If you check the palette's tree you don't see the new elevation only if you click on Update button
2022-03-11 06:13 PM
"I’m looking for a way to update the layout book through API"
I am searching for the same solution. What API calls did you end up using?
Thanks for any help...
chris