[Bf-python] msvc7 macro
Gilbert, Joseph
jgilbert at tigr.ORG
Fri Oct 7 16:53:14 CEST 2005
For those using msvc7 this macro rebuilds the python project and
links the application. (1 less step :-)) You can add this macro as a
button on the toolbar and give it an icon.
Sub BuildPython()
DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer).Activate()
DTE.ActiveWindow.Object.GetItem("blender\BPY_python").Select(vsUISelecti
onType.vsUISelectionTypeSelect)
DTE.Windows.Item(Constants.vsWindowKindOutput).Activate()
DTE.ExecuteCommand("Build.BuildSelection")
DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer).Activate()
DTE.ActiveWindow.Object.GetItem("blender\blender").Select(vsUISelectionT
ype.vsUISelectionTypeSelect)
DTE.ExecuteCommand("Build.Link")
End Sub
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20051007/89b35e8c/attachment.html>
More information about the Bf-python
mailing list