What I try to do is to add sources (surfaces and corridors) to a sample line group, as you have done in this thread.
Sorry, I missed the part that you wanted to add surfaces.
# Load the Python Standard and DesignScript Libraries
import sys
import clr
# Add Assemblies for AutoCAD and Civil3D
clr.AddReference('AcMgd')
clr.AddReference('AcCoreMgd')
clr.AddReference('AcDbMgd')
clr.AddReference('AecBaseMgd')
clr.AddReference('AecPropDataMgd')
clr.AddReference('AeccDbMgd')
# Import references from AutoCAD
from Autodesk.AutoCAD.Runtime import *
from Autodesk.AutoCAD.ApplicationServices import *
from Autodesk.AutoC…
When I try to use the graph I get this message:
I understand that it has somethin to do with the indentation. But I haven’t change anything in the Python code as you can see:
I would also like to know how to sample the corridors. Thank you so much for your response. I haven’t been able to get information on this, apart from that thread. Thanks.