-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAPIPreferences_defaultAddInLanguage.htm
More file actions
79 lines (78 loc) · 4.69 KB
/
APIPreferences_defaultAddInLanguage.htm
File metadata and controls
79 lines (78 loc) · 4.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="topic-type" content="reference-adsk">
<meta name="helpsystempath" content="/view/NINVFUS/ENU/">
<link rel="canonical" href="/cloudhelp/ENU/Fusion-360-API/files/APIPreferences_defaultAddInLanguage.htm#!">
<meta name="product" content="NINVFUS">
<meta name="release" content="NA">
<meta name="book" content="Developer">
<meta name="component" content="Fusion-360-API">
<meta name="created" content="09/10/2023">
<meta name="user-comments" content="enable">
<meta name="contextid" content="APIPreferences_defaultAddInLanguage">
<meta name="description" content="APIPreferences.defaultAddInLanguage Property">
<meta name="topicid" content="GUID-AF7E42FA-C925-40F3-959B-10FC3D343237">
<meta name="experiencelevel" content="expert">
<meta name="audience" content="programmer">
<meta name="language" content="ENU">
<title>APIPreferences.defaultAddInLanguage Property</title>
<link rel="stylesheet" href="../Style/jquery-ui.css"><script src="../Scripts/jquery-1.11.1.js"></script><script src="../Scripts/jquery-ui.js"></script><link rel="stylesheet" type="text/css" href="../Style/APIHelp-chm.css">
<link rel="stylesheet" type="text/css" href="/view/clientframework/client.css"><script type="text/javascript" src="/view/clientframework/client.js"></script><script>
// This turns on the display of the copyright notice which is not visible by default.
// Because the head is removed when used in the web help, this function will only exists
// when the chm help is being created.
window.onload = function() {
copyrightElement = document.getElementById('CopyrightNotice');
copyrightElement.style.display = 'block';
};
</script><script>
$(function() {
$( "#tabs" ).tabs();
});
</script></head>
<body>
<link rel="stylesheet" type="text/css" href="../Style/APIHelp.css">
<h1 class="api">APIPreferences.defaultAddInLanguage Property</h1>
Parent Object: <a href="APIPreferences.htm">APIPreferences</a><br>Defined in namespace "adsk::core" and the header file is <Core/Application/APIPreferences.h><h2 class="api">
Description
</h2>
<p class="api">Gets and sets the preference that controls which programming language should be used when creating a new add-in. One option is to prompt the user.</p>
<h2 class="api">
Syntax
</h2>
<div id="tabs">
<ul>
<li><a href="#Python">Python</a></li>
<li><a href="#C++">C++</a></li>
</ul>
<div id="Python" class="api-code">
<table class="api-code">
<td>"aPIPreferences_var" is a variable referencing an APIPreferences object.</span><br /><br /><code><pre class="api-code"><span style="color:blue"># Get the value of the property.</span><br />propertyValue = aPIPreferences_var.<b>defaultAddInLanguage<br /><br /><span style="color:blue"># Set the value of the property.</span><br />aPIPreferences_var.<b>defaultAddInLanguage</b> = propertyValue</pre></code></td>
</table>
</div>
<div id="C++" class="api-code">
<table class="api-code">
<td>"aPIPreferences_var" is a variable referencing an APIPreferences object.<br /><code><pre class="api-code">#include <Core/Application/APIPreferences.h><br /><br /><span style="color:blue">// Get the value of the property.</span><br />ProgrammingLanguages propertyValue = aPIPreferences_var-><b>defaultAddInLanguage</b>();<br /><br /><span style="color:blue">// Set the value of the property, where value_var is a ProgrammingLanguages.</span><br />bool returnValue = aPIPreferences_var-><b>defaultAddInLanguage</b>(value_var);</pre></code></td>
</table>
</div>
</div>
<h2 class="api">
Property Value
</h2>This is a read/write property whose value is a <a href="ProgrammingLanguages.htm">ProgrammingLanguages</a>.<h2 class="api">
Version
</h2>
Introduced in version October 2023<br><br><div id="CopyrightNotice" style="display:none;">
<hr>
<table width="100%" style="font-size:15">
<tr>
<td align="left">
© Copyright 2025 Autodesk, Inc.
</td>
<td align="right"><a href="mailto:mfg.api.help.comments@autodesk.com?subject=Fusion%20May 2025%20API%20Help%20(APIPreferences.defaultAddInLanguage%20Function%20Help%20Topic)">Comment on this page.</a></td>
</tr>
</table>
</div>
</body>
</html>