Message 1 of 2
Unknown error when creating linear dimensions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Im currently working on putting linear dimensions on length and width for any part on a drawing my method seems correct but when it comes to actually adding the linear dimensions it crashes with "unspecified error" (0x80004005 (E_FAIL)),
The line causing that is:
sheet.DrawingDimensions.GeneralDimensions.AddLinear( dimWidthPlacementPoint, geomIntentMinX, geomIntentMaxX, DimensionTypeEnum.kHorizontalDimensionType)
I checked and all parameters seem right yet i get this random error, any clues?