- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am attempting to create a break in a drawing view using Ilogic and the C360_OnPublishDrawing rule. Everything is working perfectly offline but when I upload it to C360 and attempt to export a PDF it generates an unspecified error. I have narrowed the problem down to this piece of code:
Dim startPt = ThisApplication.TransientGeometry.CreatePoint2d(0, cMidStart)
Dim endPt = ThisApplication.TransientGeometry.CreatePoint2d(0, cMidEnd)
view.BreakOperations.Add(BreakOrientationEnum.kVerticalBreakOrientation, startPt, endPt,BreakStyleEnum.kStructuralBreakStyle)
And in particular it cannot seem to create the 2d start and end points in C360. Is there a different command that has to be used for C360 for creating 2d points?
Any help is appreciated.
Solved! Go to Solution.