Creo Schematics 9.0.0.0 Help Center > Customizing Creo Schematics Using Java APIs > Example: Invoking a Class When an Artifact Is Instanced
Example: Invoking a Class When an Artifact Is Instanced
public class UpdateProperties extends Object implements rsdesigner.uiextension.UpdateProperties
{
public UpdateProperties() {}
public boolean update(Properties props)
{
// Manipulate the Properties and their values from the
// Properties instance
System.out.println("[UpdateProperties]: updating");
// Return true if we want PTC Creo Schematics to update the Properties
return true;
}
}