chuongmep / blogcomment

Comment in blog chuongmep.com
https://chuongmep.com/
0 stars 0 forks source link

Check-Element-Duplicate-Dynamo-Revit #8

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Check Element Duplicate Dynamo Revit | Hồ Văn Chương

I don’t care that they stole my idea...I care that they don’t have any of their own - Nikola Tesla

https://chuongmep.com/Check-Element-Duplicate-Dynamo-Revit

sdzbrian commented 1 year ago

Hi chuongmep, I am very new in Dynamo. Thanks for your notes. I couldn't run it. How could I get the "Point.MidPoint" package? I couldn't find the "Point.MidPoint" package in Dynamo. I am using Revit2020. Thanks!

Brian

chuongmep commented 1 year ago

Hi @sdzbrian , you had download lastest version of package ?

sdzbrian commented 1 year ago

Hi chuongmep, I had download 7 packages as below: Clockwork for Dynamo 2.x 2.4.0 element location 2021.0.0 GenPoint 1.0.0 GetMidPoint 0.0.1 Orchid 0.0.3 PointOverlap AdaptiveComponents 1.0.0 Yopa 100.100.0

All your notes are ok, except "Point.MidPoint" package in yellow color and show "Unresolved". I don't know where can download the package"Point.MidPoint". What the name of the package do you use?

Thanks!

Brian

chuongmep commented 1 year ago

Hi @sdzbrian, let try dowload package DynaMEP.

sdzbrian commented 1 year ago

Hi chuongmep, I have download DynaMEP. The Point.MidPoint still shows "Unreserved“. I am using Revit2020 and Dynamo Core 2.1.0.7500, Dynamo Revit 2.1.0.7733. What version do you use? I want to be as same as your version. It might be ok.

Thanks!

Brian

sdzbrian commented 1 year ago

by the way, I download DynaMEP 2.0.1

chuongmep commented 1 year ago

In case you can't find this node, let do by example bellow demo Result

image
chuongmep commented 1 year ago

Python scrip in case you want do it :

# Load the Python Standard and DesignScript Libraries
import sys
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# The inputs to this node will be stored as a list in the IN variables.
dataEnteringNode = IN [0]

# Place your code below this line

p1 = Point.ByCoordinates(0,0,0)
p2 = Point.ByCoordinates(0,0,100)
l = Line.ByStartPointEndPoint(p1,p2)
midpoint = Curve.PointAtParameter(l,0.5)
# Assign your output to the OUT variable.
OUT = midpoint
sdzbrian commented 1 year ago

Hi chuongmep, Thanks for your notes! I am a beginner in Dynamo. I can use notes in package only. Even notes in package are not that easy for me. So I would like to try to understand your notes and try to put them into your original notes. If you could update your original notes, then I download it again, and then I could use your new notes directly, that would be much easier for me. Anyway, thanks again, I would try my best to understand your notes.

Brian

chuongmep commented 1 year ago

@sdzbrian you can't find any node midpoint when you installed package ? image

sdzbrian commented 1 year ago

Hi chuongmep, Sorry for reply late. I am on holiday now. I will have a look again after back work. In my memory, I couldn't find the node as yours.

Thanks

Brian

chuongmep commented 1 year ago

@sdzbrian No problem, happy new year, if you stil have any problem, let comment bellow topic.

sdzbrian commented 1 year ago

Hi chuongmep, I have used the Points.Midpoint instead of Point.MidPoint. It works. I foud the pipes duplicated. That's great! Thanks for your node and your support!

Thanks again!

Brian