-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The following example code does not work. SetPerspectiveCamera is not defined.
"ViewPointBuilder" does not contain a definition for "SetPerspectiveCamera", and no accessible extension method "SetPerspectiveCamera" accepting a first argument of type "ViewPointBuilder" could be found (are you missing a using directive or an assembly reference?).
using BcfToolkit.Builder.Bcf30;
var builder = new BcfBuilder();
var bcf = builder
.AddMarkup(m => m
.SetTitle("Simple title")
.SetDescription("This is a description")
.AddLabel("Architecture")
.SetPriority("Critical")
.SetTopicType("Clash")
.SetTopicStatus("Active")
.AddComment(c => c
.SetComment("This is a comment")
.SetDate(DateTime.Now)
.SetAuthor("jimmy@page.com"))
.AddViewPoint(v => v
.SetPerspectiveCamera(pCam => pCam
.SetCamera(cam => cam
.SetViewPoint(10, 10, 10))),
snapshotData)) // Provide a snapshot data here
.SetExtensions(e => e
.AddPriority("Critical")
.AddPriority("Major")
.AddPriority("Normal")
.AddPriority("Minor")
.AddTopicType("Issue")
.AddTopicType("Fault")
.AddTopicType("Clash")
.AddTopicType("Remark")
.AddTopicLabel("Architecture")
.AddTopicLabel("Structure")
.AddTopicLabel("MEP"))
.SetProject(p => p
.SetProjectId("projectId")
.SetProjectName("My project"))
.SetDocumentInfo(dI => dI
.AddDocument(d => d
.SetFileName("document.pdf")
.SetDescription("This is a document")))
.Build();
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels