|
Apply Method |
This command allows to apply a method into a document.
A method document defines a sequence of multiple commands to automate modeling tasks, resulting in significant time savings for repetitive modeling processes.
Creation stages / Use:
Select the Tools > Apply Method... command from the drop-down menu.
Select the method to apply.
Fill driver(s).
Validate.
|
|
|
Click on the following link to learn about the steps for creating a Method. |
Handling of invalidities:
If, during the use of a method, an operation fails (because it cannot be constructed), an assistant—made up of two icons located at the top right of the graphics area—allows you to correct the invalidity and then continue applying the method in order to create the missing operations.
First, if applying a method triggers an invalidity, TopSolid displays an error message indicating the invalid operation. When you validate this message, a second message appears to inform you of the procedure to follow:
|
Quit Method Application: Allows you to exit the method application assistant. The method stops and keeps the operations that have been created (including the invalid operation). For example, if the invalidity occurs at the end of the method application, and depending on the complexity of the operations, it may be faster to manually rebuild the missing operations rather than correct the error and resume applying the method. |
|
Resume Method Application: Allows you to resume applying the method after repairing the invalidity. This icon is only available once the error has been repaired. The method then builds the missing operations. |
|
|
|
|
Example of repairing an invalidity:
Consider a part document containing a rectangular sketch from which an extruded shape has been created. On this shape, a constrained frame is added in order to drill the shape.
A method document is associated with this part. The sketch is dragged into the drivers. The operations folder then contains the extruded shape, the constrained frame, and the drilling operation.
In a new part document, a non-rectangular sketch is created.
The method is applied, the non-rectangular sketch is selected, and the dialog is validated. A first error message appears concerning the constrained frame; the operation is invalid. After validating this message, a second message appears, informing you to repair the invalidity and then use the Resume Method Application… button (unless you have chosen not to display this message again).
It can then be observed that the extruded shape has been created, but that the constrained frame is indeed invalid.
Edit the Constrained Frame operation to define the planes or axes that were not automatically found, and validate.
The document is no longer in error, but the drilling operation does not appear.
Select the Resume Method Application… icon; the method then continues and the drilling operation is created.
|
Case of an invalidity when applying
a method containing a local extruded bar creation operation. |