[Blender] Can Alt+D be used as a 'type parameter' like it would in Revit?

edited June 2022 in General
This discussion was created from comments split from: BB: Does anyone know what 'Alt-D' does?.

Comments

  • Can Alt+D in Blender be used as a 'type parameter' like it would in Revit?

  • Not at the moment. In theory it can :)

  • @Moult

    Not at the moment. In theory it can :)

    import bpy
    
    bpy.ops.object.select_all(action="DESELECT")
    #bpy.data.objects["Cube"].select = True
    
    bpy.data.objects["Cube"].select_set(True)
    
    
    
    
    for i in range(0, 10, 1):
        j = 0
    
        j += 3
    
        bpy.ops.object.duplicate_move_linked(OBJECT_OT_duplicate={"linked":True,
                                            "mode":'TRANSLATION'},
                                             TRANSFORM_OT_translate={"value":(0, j, 0), 
                                            "orient_axis_ortho":'X', 
                                            "orient_type":'GLOBAL', 
                                            "orient_matrix":((1, 0, 0), (0, 1, 0), (0, 0, 1)), 
                                            "orient_matrix_type":'GLOBAL',
                                            "constraint_axis":(False, True, False),
                                            "mirror":False,
                                            "use_proportional_edit":False,
                                            "proportional_edit_falloff":'SMOOTH', 
                                            "proportional_size":1, 
                                            "use_proportional_connected":False,
                                            "use_proportional_projected":False,
                                            #"snap":False, 
                                            #"snap_target":'CLOSEST',
                                            #"snap_point":(0, 0, 0), 
                                            #"snap_align":False, 
                                            #"snap_normal":(0, 0, 0), 
                                            #"gpencil_strokes":False,
                                            #"cursor_transform":False,
                                            #"texture_space":False,
                                            "remove_on_cancel":False,
                                            "view2d_edge_pan":False,
                                            "release_confirm":False,
                                            "use_accurate":False,
                                            "use_automerge_and_split":False})
    

    Ignore the python script, just did some experimeting with a cube and alt+d with the python equivalent.

    I am really breaking my head how one would store this functionality in IFC.

    Where would one define in IFC that IFC objects in Blender are linked? In the Propertysets?

    IFC elements would need a special "BlenderBIM tag" or something.

    Then how does one decide which object is the 'origin'?

    Would be very useful functionality for an IfcOpening.

  • Not an expert (but who is), but what about IfcMappedItem?
    See this commented IFC file as an example of how IfcMappedItem works.

    Coen
  • @Moult said:
    Not at the moment. In theory it can :)

    Any progress so far perhaps? :-)

Sign In or Register to comment.