Part Functions


The following PART APIs are related to parts. All api_pm_* functions should be thought of as requiring the use of the PART_CONTEXT class.

Part

api_pm_add_entity
Adds an entity to a part
api_pm_create_part
Creates a new part
api_pm_delete_part
Deletes a part
api_pm_entity_id
Gets the entity ID and part for an entity
api_pm_load_part
Loads a file into a part
api_pm_lookup_entity
Gets an entity given an ID and a part
api_pm_part_entities
Gets a list of entities in a part
api_pm_remove_entity
Removes an entity from a part
api_pm_save_part
Saves a part to a file.
record_entity
Informs the part manager and viewer about the existence of the a new entity

History and Roll

api_pm_delete_all_states
Deletes all states
api_pm_name_state
Names the current state
api_pm_note_state
Marks the end of a state
api_pm_roll_n_states
Rolls forward or backward a specified number of states
api_pm_roll_to_state
Rolls to the start of a named state
api_pm_start_state
Marks the start of a state
api_roll_n_states
Modifies a modeler state by applying zero or more delta states

[Top]