Setting Path value of Insert window.

Setting Path value of Insert window.

Anonymous
Not applicable
625 Views
2 Replies
Message 1 of 3

Setting Path value of Insert window.

Anonymous
Not applicable

 

Hi,

 

Using .Net code

How i can i set the value for Path field of "Insert" window.

 

 

Please advise.

 

Regards,

Raman

0 Likes
626 Views
2 Replies
Replies (2)
Message 2 of 3

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

mybe I don't understand the question, but the path-field (that I know in the _INSERT dialog) can't be set before you select a file! It does just report the path to the file you have selected. Without selection ... no path of a selection ;(

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 3

Anonymous
Not applicable

Do you mean the insert value as in the location of the dialog on the screen?

If so:

 

        '' dialog
        Dim ss As New DiaglogName
        Application.ShowModelessDialog(ss)
        ' Location of window
        Dim x As Integer = ((PrimaryScreen.WorkingArea.Width) / 2) - (ss.Width / 2)
        Dim y As Integer = ((PrimaryScreen.WorkingArea.Height) / 2) - ((ss.Height / 100) * 65)
        ss.Location = New System.Drawing.Point(x, y)

 

Sorry if I missed the point

0 Likes