We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

How tro freeze a layer

Anonymous
Not applicable
I would like to have a sample code on how to freeze a layer.
4 REPLIES 4
TomWaltz
Participant
There is no "freeze" layer command in Archicad... can you be a little more specific about what you want to do?
Tom Waltz
Anonymous
Not applicable
Well, I meant like locking the layers kind of what can be done in AutoCAD.


"TomWaltz" wrote:
There is no "freeze" layer command in Archicad... can you be a little more specific about what you want to do?
Anonymous
Not applicable
I meant if I want to lock a layer by running a script. That means through coding. Not through interface.

cheers,
Srinivas.
Akos Somorjai
Graphisoft
Graphisoft
You'll have to use ACAPI_Attribute_Modify to change the locked status of a layer.

HTH,

Akos