Luiz Fernando De Oliveira Silva
Usenet Archive
- Joined
- Dec 3, 2001
- Messages
- 6
- Reaction score
- 0
When I want to get the link of element, I use the function elem.extractDBLinkages with array of type MBEDatabaselink.
****** In Microstation Basic, I do :
Dim lnk as MBEDatabaseLink
Dim elem as New MBEelement
..
If elem.foundDBLinkage = MBE_SUCCESS then
if elem.extractDBLinkages(lnk) = MBE_SUCCESS then
...
...
end if
end if
******In VisualBasic 6.0
Dim lnk as Object
dim elem as Objetc
set elem = msApp.MbeElement
set lnk = msApp.MbeDatabaseLink 'occurs error "Can't assign to array"
If elem.foundDBLinkage = msapp.MBE_SUCCESS then
if elem.extractDBLinkages(lnk) = msapp.MBE_SUCCESS then ... ... end if end if
Can Somebody help me?
Thanks
****** In Microstation Basic, I do :
Dim lnk as MBEDatabaseLink
Dim elem as New MBEelement
..
If elem.foundDBLinkage = MBE_SUCCESS then
if elem.extractDBLinkages(lnk) = MBE_SUCCESS then
...
...
end if
end if
******In VisualBasic 6.0
Dim lnk as Object
dim elem as Objetc
set elem = msApp.MbeElement
set lnk = msApp.MbeDatabaseLink 'occurs error "Can't assign to array"
If elem.foundDBLinkage = msapp.MBE_SUCCESS then
if elem.extractDBLinkages(lnk) = msapp.MBE_SUCCESS then ... ... end if end if
Can Somebody help me?
Thanks