mapteksdk.view package
Interaction with a view in an applicable Maptek application.
The first step is opening a new view which returns a view controller for the new view. From there you can control the view by adding/removing objects, hiding/showing objects and querying what objects are in the view.
>>> from mapteksdk.project import Project
>>> import mapteksdk.operations as operations
>>> project = Project()
>>> view = operations.open_new_view()
>>> view.add_objects([project.find_object('/cad')])
>>> view.close()
>>> project.unload_project()
Submodules
- mapteksdk.view.enums module
PredefinedView
ManipulationMode
ObjectFilter
ObjectFilter.DEFAULT
ObjectFilter.VISIBLE_ONLY
ObjectFilter.HIDDEN_ONLY
ObjectFilter.SELECTED_ONLY
ObjectFilter.from_bytes()
ObjectFilter.to_bytes()
ObjectFilter.storage_type
ObjectFilter.convert_from()
ObjectFilter.convert_to()
ObjectFilter.conjugate()
ObjectFilter.bit_length()
ObjectFilter.bit_count()
ObjectFilter.as_integer_ratio()
ObjectFilter.real
ObjectFilter.imag
ObjectFilter.numerator
ObjectFilter.denominator
SectionMode
SectionMode.NO_MODE
SectionMode.POSITIVE_HALF_SPACE
SectionMode.NEGATIVE_HALF_SPACE
SectionMode.STRIP
SectionMode.from_bytes()
SectionMode.to_bytes()
SectionMode.conjugate()
SectionMode.bit_length()
SectionMode.bit_count()
SectionMode.as_integer_ratio()
SectionMode.real
SectionMode.imag
SectionMode.numerator
SectionMode.denominator
SectionStepDirection
SectionStepDirection.LEFT
SectionStepDirection.RIGHT
SectionStepDirection.UP
SectionStepDirection.DOWN
SectionStepDirection.LEFT_AND_UP
SectionStepDirection.RIGHT_AND_DOWN
SectionStepDirection.from_bytes()
SectionStepDirection.to_bytes()
SectionStepDirection.conjugate()
SectionStepDirection.bit_length()
SectionStepDirection.bit_count()
SectionStepDirection.as_integer_ratio()
SectionStepDirection.real
SectionStepDirection.imag
SectionStepDirection.numerator
SectionStepDirection.denominator
TransientGeometryRestrictMode
TransientGeometryRestrictMode.NO_RESTRICTIONS
TransientGeometryRestrictMode.ONLY_IN_VIEW
TransientGeometryRestrictMode.NEVER_IN_VIEW
TransientGeometryRestrictMode.from_bytes()
TransientGeometryRestrictMode.to_bytes()
TransientGeometryRestrictMode.storage_type
TransientGeometryRestrictMode.convert_from()
TransientGeometryRestrictMode.convert_to()
TransientGeometryRestrictMode.conjugate()
TransientGeometryRestrictMode.bit_length()
TransientGeometryRestrictMode.bit_count()
TransientGeometryRestrictMode.as_integer_ratio()
TransientGeometryRestrictMode.real
TransientGeometryRestrictMode.imag
TransientGeometryRestrictMode.numerator
TransientGeometryRestrictMode.denominator
TransientGeometrySettings
- mapteksdk.view.errors module
- mapteksdk.view.save_to_image module
- mapteksdk.view.view module
ViewController
ViewController.window_title
ViewController.close()
ViewController.scene_extents()
ViewController.objects_in_view()
ViewController.add_objects()
ViewController.add_object()
ViewController.remove_objects()
ViewController.remove_object()
ViewController.hide_objects()
ViewController.hide_object()
ViewController.show_objects()
ViewController.show_object()
ViewController.add_transient_object()
ViewController.add_transient_objects()
ViewController.promote_transient_object()
ViewController.promote_transient_objects()
ViewController.transient_objects_in_view()
ViewController.axes_visibility
ViewController.action_plane_section_widths()
ViewController.set_action_plane_section_widths()
ViewController.action_plane_section_mode()
ViewController.set_action_plane_section_mode()
ViewController.action_plane()
ViewController.set_action_plane()
ViewController.action_plane_section_step_distance()
ViewController.set_action_plane_section_step_distance()
ViewController.step_action_plane_section_forwards()
ViewController.step_action_plane_section_backwards()
ViewController.view_objects_by_extents()
ViewController.use_predefined_view()
ViewController.look_at_point()
ViewController.background_colour
ViewController.rotate_camera()
ViewController.translate_camera()
ViewController.get_manipulation_mode()
ViewController.set_manipulation_mode()
ViewWindow