The Civil View Object Library forms the basis for the contents of the Object Placement Style Editor. This panel puts objects from the Placed Objects category into the current scene.
You can also think of placed objects as "path-controlled" objects.
In a library, each object definition is represented by an INI file that stores the object parameters. The structure of an INI file varies depending on the object category; these structures are described in the topics that follow. Using INI files provides a flexible and easily edited way to manage object library resources. It even lets you use object resources in different ways, by referencing the same source object from several different INI files.
You can use the Resource Kit Manager to manage an object library.
You can customize a Civil View Object Library. Detailed instructions on how to customize a library can be found under each object library category topic.
These are the general rules to follow:
Objects are defined by INI files, which vary in content between different object categories. Make sure you fully understand the structure of an object INI file before you edit its contents manually.
In general, this means that an object should have the appropriate material channel ID assigned every face. This is how Civil View decides which sub-material to apply to different parts of the same object.
You can check if a material is applied to an object by typing $.material into the MaxScript listener window. If this does not return undefined, you need to remove the material from the object by typing $.material = undefined. Civil View applies a material to the object when you place it into the current scene.
Civil View loads various settings into every scene, including material definitions that should not be stored in object library .max files.
In addition to object categories, you can split each set of object definitions within a single category into sub-groups. For example, vehicles might be organized into cars, trucks, buses, and trains. Signs might be organized into advisory signs, mandatory signs, and road-marking symbols.
Additionally, with Object Placement Styles it is possible to define a style element that places a group of objects in a scene with a single instruction, rather than having to select one object definition at a time. In this case, individual objects within the selected group are randomly chosen for placement in the scene. For example, this can be useful with vehicles, where you want to place a range of different vehicles onto a highway.