Message 1 of 3
Difference between demoted assembly and new assembly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there any difference between an assembly created using the new command and one created by demoting parts into it? I have an ilogic code that will not run on an assembly that was created using the demote command, but it runs fine on an assembly that was created using the new command. Both were created using the same template. When I try to run the code on the demoted assembly I get this error.
I have narrowed it down to this area of the code
'define Assembly Component Definition Dim AsmCompDef As AssemblyComponentDefinition AsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition
If I comment out the last line then I do not get the error so I think that the error comes from the ComponentDefinition object.
Andrew In’t Veld
Designer / CAD Administrator