Message 1 of 3
Copying values to iProperties

Not applicable
01-15-2008
04:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm making a code in VB.Net to copy some Textbox values to some iProperties fields. Until it's working fine, but not with a specified field: in the tab "Project" -> "WEB Link". Next is the code. I don't know why does this is not copying the value, among with the other fileds that are working fine!
Code:
On Error Resume Next
Dim inventorap As Inventor.Application
inventorap = GetObject(, "inventor.application")
Dim Documento As Inventor.PartDocument
Documento = inventorap.ActiveDocument
Dim Propriedades As Inventor.PropertySet
Propriedades = Documento.PropertySets.Item("Design Tracking Properties")
Propriedades.Item("Stock Number").Value = txtDesignacao.Text
Propriedades.Item("WEB Link").Value = txtMaterial.Text
This last one is the one that's not working.
Does anyone knows why is this hapenning?
Thank you!!!!
I'm making a code in VB.Net to copy some Textbox values to some iProperties fields. Until it's working fine, but not with a specified field: in the tab "Project" -> "WEB Link". Next is the code. I don't know why does this is not copying the value, among with the other fileds that are working fine!
Code:
On Error Resume Next
Dim inventorap As Inventor.Application
inventorap = GetObject(, "inventor.application")
Dim Documento As Inventor.PartDocument
Documento = inventorap.ActiveDocument
Dim Propriedades As Inventor.PropertySet
Propriedades = Documento.PropertySets.Item("Design Tracking Properties")
Propriedades.Item("Stock Number").Value = txtDesignacao.Text
Propriedades.Item("WEB Link").Value = txtMaterial.Text
This last one is the one that's not working.
Does anyone knows why is this hapenning?
Thank you!!!!