cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Get Element's material changed real-time

WalterWhite
Participant

Hi there,I'm a rookie developer for just a month using Archicad API.Nowadays I need to monitor the element's material changed in current's 3D view for real-time.I check out the API refer and the SDK. I find out the `APIAttributeListMaterialItemObserver` in `APIAttributeListItems.hpp` and `MaterialObserver` in `material.hpp`.However, it seems like doesn't work.

I just wondering whether there has some way that can monitor current 3D view's element's material status?Thanks a lot!

 

The Observer I found is below.

3 REPLIES 3

WalterWhite
Participant

Hi there,

I find out a way that can monitor elements' change.The `ACAPI_Notify_InstallElementObserver`.It can monitor the change on `Settings` windows,so I can catch the material changed only if i change it on `Settings` windows.However, If I want to change the material with the 'Surface Painter' windows("window->Palettes->Surface Painter"),The 'ACAPI_Notify_InstallElementObserver' can't catch it.

So the question became if I use "Surface Painter" to change the elements' material,How can i get the information?

Thanks a lot!

WalterWhite
Participant

Hi there!

Is there some way I can get the info whether the current windows' elements' material has been changed?Especially when I use the "Surface Painter" to changed the elements' material, How can I get the information?

If you have some idea, Pls tell me,I REALLY need to know.

Thanks a lot!

@WalterWhite ,

I have merged this post with your other one on the same subject.

There is no need to start new post on the same topic.

If you don't get an answer, just bump (reply) in the old post.

 

There is no guarantee you will get an answer though.

I certainly have no help for you - out of my league.

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!