Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: Owner2229

This code seems to be the start of EXACTLY what I am looking for.

 

However, All this does at the moment is take an existing assembly and copy and paste it in a new assembly.

 

I would like to pick and choose which parts go in to the new assembly.

 

 

I am also getting these error messages.

{

Error in rule: Find And Place Stock Numbers In IAM, in document: BRAKE METAL.iam

Public member 'ComponenetDefinition' on type '_DocumentClass' not found.

}

More Info

{

System.MissingMemberException: Public member 'ComponenetDefinition' on type '_DocumentClass' not found.

at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)

at LmiRuleScript.Main()

at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)

at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

 

}

 

Could I possibly get some comments on the code to show me exactly what it is doing?

 

Again,

Thank you so much for your help.