Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to compare expression values in my iProperties, but some of the default iProperties have been giving me trouble.
Does anyone know why I am getting an error?
oPropSet = ThisDoc.Document.PropertySets.Item("Design Tracking Properties") MessageBox.Show(oPropSet.Item("Description").Expression) MessageBox.Show(oPropSet.Item("Project").Expression) MessageBox.Show(oPropSet.Item("Checked By").Expression) 'The following returns an error: MessageBox.Show(oPropSet.Item("Eng. Approved By").Expression)
Here is the error:
Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)) System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)) 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)
Solved! Go to Solution.