The order they are written, the data will then be sorted alphabetically starting with the left most column. The DISPLAY_FIELDS indicate which fields from theĭatabase file are displayed when the function is run, the fields are shown in Change the desired sub method file location and function so that it looks like %APP_DIR%\file_folder\file_name FUNCTION_NAME In your method you can change the file location and function name of the sub-method, such as the DRAW_METHOD. Open the methods.ini file, the new methods appear at the bottom of the file.Once you have found your class you can change the description, the method or speckey it uses and the picture that will be seen in the class editor. Open the class.ini file, new classes appear at the bottom of the file.
When done click the save button in the Class Editor. Like the methods the speckey can only be edited from its speckey.ini file. Repeat steps 7-9 for the speckey, the speckey name and the methods name can be the same.The functions called will stay the same as the ones in the method key you copied, they can only be changed from the methods.ini file. Copy the same method key as the existing class you are basing your function off of.The name asked for by the new window will follow the same rules as the name in step 6. This will open the method’s dialog box, click on the ‘new key’ button on the right side of the dialog box.To modify the methods click on the button ‘…’ to the right of it. Clicking Ok will open your new class with default parameters associated with the parent. We need to change the Methods and the Speckey.For example my name is TEST_FUNCTION, and the description is “This is a test function”. Theĭescription is what will appear in the class editor, this name can include The name is the function that will be called fromĪutoCAD, it should have no spaces and be all upper case letters. Create your new class by right clicking on the parent class and selecting “insert new component”.These are class.ini, methods.ini and speckey.ini (speckey.ini is only needed if your function requires you to get data from a database file). There are 3 files which you need to place information into to create the class.This will locate the folder in your project directory that the class should be placed in. Copy the name of the “Method Key”, then search for the files in your porject directory using notepad ++ or a similar tool, using the file extension.Open any of the functions in the same subfolder that you want your function to be in.Open the class editor, then select the desired path.Creating a class for the new function using an existing class