You need to write code to create simulation model and compile it to create a .dll for your model. To create schematic (non sim) model you can use the method you have shown. For schematic model it doesn't matter what electrical type you choose for pins. It is required only for sim model.