maptek.vulcan.obj

The obj class is the base class that is shared to all object types. Any methods here are available in its derived types.


clear(self)

Clear out an object’s data.

get_type(self) → string

Get the object type name.

object_details(self) → string

Gets the object’s information as a formatted report.

get_name(self) → string

Gets the object name.

set_name(self, string const & name)

Sets the object name.

get_layer(self) → string

Gets the object layer.

get_description(self) → string

Gets the object description.

set_description(self, string desc)

Sets the object description.

get_feature(self) → string

Gets the object feature.

set_feature(self, string feature)

Sets the object feature.

get_group(self) → string

Gets the object group.

set_group(self, string const & group)

Sets the object group.

get_value(self) → double

Gets the object value.

set_value(self, double value)

Sets the object value.

get_colour( self) → int

Gets the object colour.

set_colour(self, int colour)

Sets the object colour.

num_links(self) → int

Gets the number of object links.

get_link(obj self, int k) → string

Gets the object link.

get_linktype(self, int k) → int

Gets the object link type.

set_link(self, int k, int type, value)

Sets the object link.

get_linkdata(self) → dict

Gets a copy of the object link data.

set_linkdata(self, dict)

Sets the object link data from a dictionary.

get_primitive(self) → dict

Gets a copy of the object primitive data.

set_primitive(self, dict)

Sets the object primitive data.

get_attributes(obj self) → attributes

Gets a reference to the object attribute data.

set_attributes(self, attr)

Sets the object attribute data.

get_metadata(self) → metadata

Gets a reference to the object metadata.

set_metadata(self, metadata)

Sets the object metadata.

get_section_widths(self) → section_widths

Gets a reference to the object section width data.

set_section_widths(self, section_widths)

Sets the object section width data.