Get UserParameter values for FormattedText in ModelState members.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to reference a UserParameter from FormattedText using the <Parameter> tag like this:
"<Parameter ComponentIdentifier='" & ThisDoc.Document.FullDocumentName & "' Name='UserParameter' Precision='2' ></Parameter>"
Which works great for plain parts and assemblies but as soon as I try to get the value of a parameter from within a ModelState that isn't the [Primary] one, it fails.
I've created a simple part to demonstrate what's going on, if you run the rule from the active ModelState, it can't read the parameter but as soon as you select the [Primary] state it reads it just fine.
Manually adding it will show that the FormattedText references something called 'MemberDocs'
EX:
<Parameter Resolved='True' ComponentIdentifier='**C:\TestP.ipt*MemberDocs*xWuyhbddkK0o4dxyrKyf5npj0Rg*TestP.ipt<Model State1>' Name='UParm' Precision='3'>2.000</Parameter>
Is there any way to specify that member doc in the <Parameter> tag maybe?
Thanks