Design Pro

Generation

generate functionSun, 12 Feb 2023

write ObjectARX code for a custom line entity with a text of length of it's appear at mid of the line entity.

def create_line(length, text): return "acdbLine l1(acdbGetPoint(0,0,0), acdbGetPoint("+length+",0,0)); l1.setTextString("+text+");" create_line("200", "line custom")

Questions about programming?Chat with your personal AI assistant