This application discloses a method, device, and medium for acquiring reference information for geometric elements. The method includes: determining geometric elements through pre-set human-computer interaction
software, distinguishing the geometric elements to determine the corresponding element types, including feature elements and topological elements; determining reference elements according to the types, uniformly naming the reference elements, determining the corresponding geometric object names of the reference elements through pre-set APIs, and determining the corresponding geometric types based on the geometric object names; determining the reference point and reference direction corresponding to the geometric type, and determining the coordinate values of the reference point and the
direction vector values of the reference direction. This application accurately determines geometric elements through human-computer interaction, uniformly names reference elements after distinguishing element types, and uses APIs to determine geometric types, thereby acquiring reference information. The logic is clear, the operation is standardized, and it can efficiently and accurately acquire
geometric element references, improving
processing efficiency and accuracy.