VBA- AssembleComponent works but not AssembleByCopy
‎Aug 03, 2018
08:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Aug 03, 2018
08:50 AM
VBA- AssembleComponent works but not AssembleByCopy
The AssembleComponent command works, but if I substitute the AssembleByCopy command it no longer works and returns a pfcExceptions:XToolkitBadInputs error. I'm only switching the two lines below:
Set asmcomp = assembly.AssembleComponent(rotormodel, Nothing)
If I replace the line above with the one below, it no longer works
Set asmcomp = assembly.AssembleByCopy("rtr2.prt", rotormodel, False)
1 REPLY 1
‎Aug 03, 2018
01:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎Aug 03, 2018
01:29 PM
Changing rtr2.prt to rtr2 got rid of the error, but now the new rtr2 model is assembled in empty, like it's not using rotormodel as a template