Complete the code to save the model as an eDrawing file.
model.SaveAs("[1]", eDrawingsFormat, true);
The eDrawings file format uses the .edrw extension, so saving as "model.edrw" is correct.
Complete the code to open an eDrawing file for viewing.
eDrawApp.OpenFile("[1]", true);
eDrawings opens files with the .edrw extension for viewing shared models.
Fix the error in the code to export the eDrawing with markup enabled.
model.ExportToEDrawing("output.edrw", [1]);
Setting the markup parameter to true enables markup in the exported eDrawing.
Fill both blanks to set the eDrawing view to shaded and enable section view.
eDrawApp.SetViewMode([1]); eDrawApp.EnableSectionView([2]);
Setting view mode to 'Shaded' shows the model with colors and shading.
Enabling section view requires passing true.
Fill all three blanks to create a shared eDrawing link with password protection and expiration.
shareSettings = {
password: [1],
expirationDays: [2],
allowDownload: [3]
};The password is set as a string "secure123".
Expiration is set to 30 days.
Allowing download is enabled by true.
