VBAPI cannot connect to symbol editing interface?
I've got a rather large and complicated symbol to work on, and as we all know the interface to do this is horrible in Creo, with all text being overlaid on top of each other. So I had an idea: I'll draw my symbol in a hierarchical fashion, and then use Move Special to move all the notes to their correct positions! That actually worked ok, but it's still a lot of work to move all of the notes. Next brilliant idea: I'll use the VBAPI to connect to Creo with VBA from Excel and I'll have a table that just lists all the notes and their coordinates. Then I can work on my symbol in a nice, uncluttered environment and run the script to jam everything together before saving the symbol.
This worked less well. I can't seem to connect to Creo when it's in the symbol editing more. It works fine to connect when I'm in part or drawing mode, but I get an error when in symbol mode. I'm guessing it's because of the ever-open menu. Does anyone know a way around this? I just use a copy-pasted
asynconn.Connect("", "", ".", 5)
... when connecting. Maybe changing one of those variables could work? Or perhaps I'll have to connect while in the drawing and then go into symbol editing when connected. that seems more complicated, and I'm not even sure VBA can do it.
Any tips?
