Source code for pyvcad_rendering.export

import wx

def export(*args, **kwargs):
    """Open the compiler export UI (wx). See :class:`pyvcad_compilers.CompilerBase` and subclasses."""
    app = wx.GetApp() or wx.App(False)
    wx.MessageBox("The export feature is temporarily disabled on the attribute-modeling branch until compilers are ported.", "Export Disabled", wx.OK | wx.ICON_INFORMATION)

[docs] def Export(*args, **kwargs): """Alias for :func:`export`.""" export(*args, **kwargs)
__all__ = ["export", "Export"]