|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.sculley.jim.swjava.peer.CppPeer
|
+--com.sculley.jim.swjava.SldWorks
| Constructor Summary | |
SldWorks(long ptr)
Insert the method's description here. |
|
| Method Summary | |
ModelDoc |
activateDoc(java.lang.String name,
boolean silentMode)
Insert the method's description here. |
boolean |
addFileOpenItem(java.lang.String functionInLibrary,
java.lang.String description)
Insert the method's description here. |
boolean |
addFileSaveAsItem(java.lang.String functionInLibrary,
java.lang.String description,
long fileType)
Insert the method's description here. |
boolean |
addMenu(long docType,
java.lang.String menuString,
long position)
Insert the method's description here. |
boolean |
addMenuItem(long docType,
java.lang.String menuString,
long position,
java.lang.String functionInLibrary)
Insert the method's description here. |
boolean |
addMenuPopupItem(long docType,
long selType,
java.lang.String itemName,
java.lang.String functionInLibrary,
java.lang.String customNames)
Insert the method's description here. |
void |
arrangeWindows(long style)
Insert the method's description here. |
void |
closeDoc(java.lang.String docName)
Insert the method's description here. |
AssemblyDoc |
createNewAssembly()
Insert the method's description here. |
DrawingDoc |
createNewDrawing(long templateType,
java.lang.String templateName,
long paperSize,
double width,
double height)
Insert the method's description here. |
PartDoc |
createNewPart()
Insert the method's description here. |
void |
createNewWindow()
Insert the method's description here. |
void |
exitApp()
Insert the method's description here. |
ModelDoc |
getActiveDoc()
Insert the method's description here. |
java.lang.String |
getActivePrinter()
Insert the method's description here. |
java.lang.String |
getCurrentLanguage()
Insert the method's description here. |
java.lang.String |
getCurrentWorkingDirectory()
Insert the method's description here. |
java.lang.String |
getDataFolder(boolean showErrors)
Insert the method's description here. |
long |
getDateCode()
Insert the method's description here. |
java.lang.String[] |
getDocumentDependencies(java.lang.String docName,
boolean fullDepth,
boolean useSearchRules)
Insert the method's description here. |
long |
getDocumentDependenciesCount(java.lang.String docName,
boolean fullDepth,
boolean useSearchRules)
Insert the method's description here. |
Environment |
getEnvironment()
Insert the method's description here. |
ModelDoc |
getFirstDocument()
Insert the method's description here. |
FrameObject |
getFrame()
Insert the method's description here. |
Modeler |
getModeler()
Insert the method's description here. |
boolean |
getMouseDragMode(long command)
Insert the method's description here. |
java.util.Enumeration |
getOpenDocuments()
Insert the method's description here. |
java.lang.String |
getRevisionNumber()
Insert the method's description here. |
java.lang.String |
getSearchFolders(long folderType)
Insert the method's description here. |
double |
getUserPreferenceDoubleValue(long userPreferenceValue)
Insert the method's description here. |
long |
getUserPreferenceIntegerValue(long userPreferenceValue)
Insert the method's description here. |
boolean |
getUserPreferenceToggle(long userPreferenceValue)
Insert the method's description here. |
java.lang.String[] |
getVersionHistory(java.lang.String fileName)
Insert the method's description here. |
int |
getVersionHistoryCount(java.lang.String fileName)
Insert the method's description here. |
boolean |
isSelectionFiltering(long selType)
Insert the method's description here. |
boolean |
isUserControl()
Insert the method's description here. |
boolean |
isVisible()
Insert the method's description here. |
boolean |
loadAddIn(java.lang.String fileName)
Insert the method's description here. |
boolean |
loadFile(java.lang.String fileName,
java.lang.String argList)
Insert the method's description here. |
ModelDoc |
openDoc(java.lang.String docName,
long docType)
Insert the method's description here. |
ModelDoc |
openDocSilent(java.lang.String docName,
long docType)
Insert the method's description here. |
void |
quitDoc(java.lang.String docName)
Insert the method's description here. |
boolean |
recordLine(java.lang.String line)
Insert the method's description here. |
boolean |
removeFileOpenItem(java.lang.String functionInLibrary,
java.lang.String description)
Insert the method's description here. |
boolean |
removeFileSaveAsItem(java.lang.String functionInLibrary,
java.lang.String description,
long fileType)
Insert the method's description here. |
boolean |
removeMenu(long docType,
java.lang.String menuName,
java.lang.String functionInLibrary)
Insert the method's description here. |
boolean |
removeMenuPopupItem(long docType,
long selType,
java.lang.String itemName,
java.lang.String functionInLibrary,
java.lang.String customNames,
long notUsed)
Insert the method's description here. |
boolean |
replaceReferencedDocument(java.lang.String target,
java.lang.String oldRef,
java.lang.String newRef)
Insert the method's description here. |
long |
sendMessageToUser(java.lang.String message,
long icon,
long button)
Insert the method's description here. |
void |
setActivePrinter(java.lang.String printerName)
Insert the method's description here. |
boolean |
setAllowsFailedFeatureCreation(boolean allowsCreation)
Insert the method's description here. |
boolean |
setCurrentWorkingDirectory(java.lang.String directory)
Insert the method's description here. |
void |
setDocVisibleOnLoad(boolean visibleOnLoad,
long docType)
Insert the method's description here. |
boolean |
setNewDwgTemplateSize(long templateType,
java.lang.String templateName)
Insert the method's description here. |
boolean |
setSearchFolders(long folderType,
java.lang.String folderNames)
Insert the method's description here. |
boolean |
setSelectionFiltering(long selType,
boolean enabled)
Insert the method's description here. |
void |
setStatusBarVisible(boolean visible)
Insert the method's description here. |
void |
setUserControl(boolean newUserControl)
Insert the method's description here. |
boolean |
setUserPreferenceDoubleValue(long userPreferenceValue,
double value)
|
boolean |
setUserPreferenceIntegerValue(long userPreferenceValue,
long value)
|
boolean |
setUserPreferenceToggle(long userPreferenceValue,
boolean enabled)
|
void |
setVisible(boolean visible)
Insert the method's description here. |
boolean |
unloadAddIn(java.lang.String name)
Insert the method's description here. |
| Methods inherited from class com.sculley.jim.swjava.peer.CppPeer |
getPtr |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SldWorks(long ptr)
throws java.lang.IllegalArgumentException
| Method Detail |
public ModelDoc activateDoc(java.lang.String name,
boolean silentMode)
throws ActivateDocException
name - java.lang.StringsilentMode - boolean
public boolean addFileOpenItem(java.lang.String functionInLibrary,
java.lang.String description)
functionInLibrary - java.lang.Stringdescription - java.lang.String
public boolean addFileSaveAsItem(java.lang.String functionInLibrary,
java.lang.String description,
long fileType)
functionInLibrary - java.lang.Stringdescription - java.lang.String
public boolean addMenu(long docType,
java.lang.String menuString,
long position)
docType - longmenuString - java.lang.Stringposition - long
public boolean addMenuItem(long docType,
java.lang.String menuString,
long position,
java.lang.String functionInLibrary)
docType - longmenuString - java.lang.Stringposition - long
public boolean addMenuPopupItem(long docType,
long selType,
java.lang.String itemName,
java.lang.String functionInLibrary,
java.lang.String customNames)
docType - longmenuString - java.lang.Stringposition - longpublic void arrangeWindows(long style)
style - longpublic void closeDoc(java.lang.String docName)
docName - java.lang.Stringpublic AssemblyDoc createNewAssembly()
public DrawingDoc createNewDrawing(long templateType,
java.lang.String templateName,
long paperSize,
double width,
double height)
templateType - longtemplateName - java.lang.StringpaperSize - longwidth - doubleheight - doublepublic PartDoc createNewPart()
public void createNewWindow()
public void exitApp()
public ModelDoc getActiveDoc()
public java.lang.String getActivePrinter()
public java.lang.String getCurrentLanguage()
public java.lang.String getCurrentWorkingDirectory()
public java.lang.String getDataFolder(boolean showErrors)
showErrors - booleanpublic long getDateCode()
public java.lang.String[] getDocumentDependencies(java.lang.String docName,
boolean fullDepth,
boolean useSearchRules)
docName - java.lang.StringfullDepthSearch - booleanuseSearchRules - boolean
public long getDocumentDependenciesCount(java.lang.String docName,
boolean fullDepth,
boolean useSearchRules)
public Environment getEnvironment()
public ModelDoc getFirstDocument()
public FrameObject getFrame()
public Modeler getModeler()
public boolean getMouseDragMode(long command)
command - longpublic java.util.Enumeration getOpenDocuments()
public java.lang.String getRevisionNumber()
public java.lang.String getSearchFolders(long folderType)
public double getUserPreferenceDoubleValue(long userPreferenceValue)
userPreferenceValue - longpublic long getUserPreferenceIntegerValue(long userPreferenceValue)
userPreferenceValue - longpublic boolean getUserPreferenceToggle(long userPreferenceValue)
userPreferenceValue - longpublic java.lang.String[] getVersionHistory(java.lang.String fileName)
fileName - java.lang.Stringpublic int getVersionHistoryCount(java.lang.String fileName)
fileName - java.lang.Stringpublic boolean isSelectionFiltering(long selType)
selType - longpublic boolean isUserControl()
public boolean isVisible()
public boolean loadAddIn(java.lang.String fileName)
fileName - java.lang.String
public boolean loadFile(java.lang.String fileName,
java.lang.String argList)
fileName - java.lang.StringargList - java.lang.String
public ModelDoc openDoc(java.lang.String docName,
long docType)
docName - java.lang.StringdocType - long
public ModelDoc openDocSilent(java.lang.String docName,
long docType)
docName - java.lang.StringdocType - longpublic void quitDoc(java.lang.String docName)
docName - java.lang.Stringpublic boolean recordLine(java.lang.String line)
line - java.lang.String
public boolean removeFileOpenItem(java.lang.String functionInLibrary,
java.lang.String description)
f - java.lang.Stringd - java.lang.String
public boolean removeFileSaveAsItem(java.lang.String functionInLibrary,
java.lang.String description,
long fileType)
functionInLibrary - java.lang.Stringdescription - java.lang.String
public boolean removeMenu(long docType,
java.lang.String menuName,
java.lang.String functionInLibrary)
docType - longmenuName - java.lang.StringfunctionInLibrary - java.lang.String
public boolean removeMenuPopupItem(long docType,
long selType,
java.lang.String itemName,
java.lang.String functionInLibrary,
java.lang.String customNames,
long notUsed)
docType - longmenuString - java.lang.Stringposition - long
public boolean replaceReferencedDocument(java.lang.String target,
java.lang.String oldRef,
java.lang.String newRef)
target - java.lang.StringoldRef - java.lang.StringnewRef - java.lang.String
public long sendMessageToUser(java.lang.String message,
long icon,
long button)
message - java.lang.Stringicon - longbutton - longpublic void setActivePrinter(java.lang.String printerName)
printerName - java.lang.Stringpublic boolean setAllowsFailedFeatureCreation(boolean allowsCreation)
allowsCreation - booleanpublic boolean setCurrentWorkingDirectory(java.lang.String directory)
directory - java.lang.String
public void setDocVisibleOnLoad(boolean visibleOnLoad,
long docType)
visibleOnLoad - boolean
public boolean setNewDwgTemplateSize(long templateType,
java.lang.String templateName)
templateType - long
public boolean setSearchFolders(long folderType,
java.lang.String folderNames)
public boolean setSelectionFiltering(long selType,
boolean enabled)
selType - longpublic void setStatusBarVisible(boolean visible)
visible - booleanpublic void setUserControl(boolean newUserControl)
newUserControl - boolean
public boolean setUserPreferenceDoubleValue(long userPreferenceValue,
double value)
public boolean setUserPreferenceIntegerValue(long userPreferenceValue,
long value)
public boolean setUserPreferenceToggle(long userPreferenceValue,
boolean enabled)
public void setVisible(boolean visible)
newVisible - booleanpublic boolean unloadAddIn(java.lang.String name)
name - java.lang.String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||