Hello Everyone!
When a I create a point in dynamo, I also get a preview of that point in my revit document. Is there a way to highlight this preview dot inside the Revit document? Or change it’s color to a more visible one?
Hello Everyone!
When a I create a point in dynamo, I also get a preview of that point in my revit document. Is there a way to highlight this preview dot inside the Revit document? Or change it’s color to a more visible one?
Can you provide a screen grab of how the preview point is showing on your PC, and an example of what you would like it to look at? Just so we can offer the best advice
Yes. The first one is the required, the second one is the actual. But it can be any kind of highlight (If I don’t have to, I prefer not to use a revit family for this)
Try changing the Dynamo Preview Material (my name may be wrong - search your materials browser for Dynamo) and see if that helps. This would be across the whole project though so all points would get the same color.
Or you could just generate some Dynamo lines to form a marker using some Python.
(This does not create any Revit geometry)
You don’t need to output the circles and lines, just thought I’d show that anyway.
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
v1=Vector.XAxis()
v2=Vector.Reverse(Vector.XAxis())
v3=Vector.YAxis()
v4=Vector.Reverse(Vector.YAxis())
length1=3000
length2=5000
point_in=IN[0]
cmark=[]
lmark=[]
for p in point_in:
cmark.append(Circle.ByCenterPointRadius(p,length1));
lmark.append(Line.ByStartPointDirectionLength(p,v1,length2))
lmark.append(Line.ByStartPointDirectionLength(p,v2,length2))
lmark.append(Line.ByStartPointDirectionLength(p,v3,length2))
lmark.append(Line.ByStartPointDirectionLength(p,v4,length2))
OUT = cmark,lmark