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
PredefinedViewManipulationModeObjectFilterObjectFilter.DEFAULTObjectFilter.VISIBLE_ONLYObjectFilter.HIDDEN_ONLYObjectFilter.SELECTED_ONLYObjectFilter.from_bytes()ObjectFilter.to_bytes()ObjectFilter.storage_typeObjectFilter.convert_from()ObjectFilter.convert_to()ObjectFilter.conjugate()ObjectFilter.bit_length()ObjectFilter.bit_count()ObjectFilter.as_integer_ratio()ObjectFilter.realObjectFilter.imagObjectFilter.numeratorObjectFilter.denominator
SectionModeSectionMode.NO_MODESectionMode.POSITIVE_HALF_SPACESectionMode.NEGATIVE_HALF_SPACESectionMode.STRIPSectionMode.from_bytes()SectionMode.to_bytes()SectionMode.conjugate()SectionMode.bit_length()SectionMode.bit_count()SectionMode.as_integer_ratio()SectionMode.realSectionMode.imagSectionMode.numeratorSectionMode.denominator
SectionStepDirectionSectionStepDirection.LEFTSectionStepDirection.RIGHTSectionStepDirection.UPSectionStepDirection.DOWNSectionStepDirection.LEFT_AND_UPSectionStepDirection.RIGHT_AND_DOWNSectionStepDirection.from_bytes()SectionStepDirection.to_bytes()SectionStepDirection.conjugate()SectionStepDirection.bit_length()SectionStepDirection.bit_count()SectionStepDirection.as_integer_ratio()SectionStepDirection.realSectionStepDirection.imagSectionStepDirection.numeratorSectionStepDirection.denominator
TransientGeometryRestrictModeTransientGeometryRestrictMode.NO_RESTRICTIONSTransientGeometryRestrictMode.ONLY_IN_VIEWTransientGeometryRestrictMode.NEVER_IN_VIEWTransientGeometryRestrictMode.from_bytes()TransientGeometryRestrictMode.to_bytes()TransientGeometryRestrictMode.storage_typeTransientGeometryRestrictMode.convert_from()TransientGeometryRestrictMode.convert_to()TransientGeometryRestrictMode.conjugate()TransientGeometryRestrictMode.bit_length()TransientGeometryRestrictMode.bit_count()TransientGeometryRestrictMode.as_integer_ratio()TransientGeometryRestrictMode.realTransientGeometryRestrictMode.imagTransientGeometryRestrictMode.numeratorTransientGeometryRestrictMode.denominator
TransientGeometrySettings
- mapteksdk.view.errors module
- mapteksdk.view.save_to_image module
- mapteksdk.view.view module
ViewControllerViewController.window_titleViewController.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_visibilityViewController.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_colourViewController.rotate_camera()ViewController.translate_camera()ViewController.get_manipulation_mode()ViewController.set_manipulation_mode()
ViewWindow