Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm trying to update a drawing using the updateAllReferences method as follows:
app = adsk.core.Application.get()
drawing = adsk.drawing.Drawing.cast(app.activeProduct)
drawing.updateAllReferences()
The command fails with the following attribute error:
AttributeError: 'Drawing' object has no attribute 'updateAllReferences'
Does anyone know if I'm missing something in the code?
Have also tried:
app = adsk.core.Application.get()
active = app.activeDocument
active.updateAllReferences()
Thank you
Solved! Go to Solution.