Message 1 of 2
transientObjects problems

Not applicable
03-23-2006
05:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been trying to mirror a feature in a part document using VB and I cant seem to get it right. I keep getting an error: run-time error '429' activex component can't create object
Can anyone help me with this???
Dim oParentFeatures As ObjectCollection
" I get this problem at the line below"
Set oParentFeatures = ThisApplication.TransientObjects.CreateObjectCollection
oParentFeatures.Add oExtFeature
Dim oMirror As MirrorFeature
Set oMirror = oPartDoc.ComponentDefinition.PartFeatures.MirrorFeatures.Add(oParentFeatures, oWorkPlane)
Can anyone help me with this???
Dim oParentFeatures As ObjectCollection
" I get this problem at the line below"
Set oParentFeatures = ThisApplication.TransientObjects.CreateObjectCollection
oParentFeatures.Add oExtFeature
Dim oMirror As MirrorFeature
Set oMirror = oPartDoc.ComponentDefinition.PartFeatures.MirrorFeatures.Add(oParentFeatures, oWorkPlane)