public class JCFamilyTable
extends java.lang.Object
| Constructor and Description |
|---|
JCFamilyTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
doReplace(AbstractJLISession jliSession,
CallSolid wrapping_solid,
java.util.List<CallComponentFeat> components,
CallSolid new_solid)
Set up and call the native function to replace a familytable component with another one in an assembly.
|
static void |
main(java.lang.String[] args) |
void |
replaceComponent(java.lang.String sessionId,
java.lang.String parentAssemblyName,
int[] compIds,
java.lang.String newSolidName)
Native function to replace a component.
|
void |
setDebug(boolean debug) |
public static void main(java.lang.String[] args)
public void doReplace(AbstractJLISession jliSession, CallSolid wrapping_solid, java.util.List<CallComponentFeat> components, CallSolid new_solid) throws JLIException, com.ptc.cipjava.jxthrowable
jliSession - The JShell sessionwrapping_solid - The parent assembly of the components being replacedcomponents - List of component objects to replacenew_solid - The new object to replace the components withJLIExceptioncom.ptc.cipjava.jxthrowablepublic void replaceComponent(java.lang.String sessionId,
java.lang.String parentAssemblyName,
int[] compIds,
java.lang.String newSolidName)
sessionId - The JShell session IDparentAssemblyName - Name of the parent assemblycompIds - Component path to the component being replacednewSolidName - Instance name to replace the component withpublic void setDebug(boolean debug)
debug - Whether to turn on debuggin in the native code