Is it possible to make script like this:
- Get all family and type from model
- Check that family / type exists in An Excel spreadsheet
- If so, take the code in Excel and place it in the type code parameter
- Set consecutive number to the number of types of the objects
Here an example.