Web Code Globe Web Code Globe


Inspector Inspector is a place where you can adjust attributes of selected shapes. The inspector supports multiple selection, so it is possible to edit multiple shapes at once.

Renaming a shape

Each shape has a name that can be edited in the Inspector. WebCode generates all names for you, but you can always change them to be more descriptive. The name of shape is primarily used for code generation.

Extracting attributes

Some shape attributes can be extracted. This only affects the generated code. An extracted attribute is defined as a separate variable just below the library item declarations. This makes it is easy for you to change the attribute manually after you integrate the generated code to your source code. An attribute that is not extracted is usually used as a plain constant somewhere deep in the generated code.

You can extract an attribute by clicking on the extraction button, where available:

Extract OnExtract On

Extract OffExtract Off