개정판 7e4a64a3
dev issue #000 : fix bug
Change-Id: Ic0067f9d1e61122a42702392e2bddc79659dad45
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
186 | 186 |
else |
187 | 187 |
MessageBox.Show(Msg.SelectLine, Msg.Warning, MessageBoxButtons.OK, MessageBoxIcon.Warning); |
188 | 188 |
} |
189 |
|
|
190 |
#region TEST |
|
189 | 191 |
bool first = true; |
190 | 192 |
LMDrawing currentDrawing; |
191 | 193 |
private void simpleButton1_Click(object sender, EventArgs e) |
... | ... | |
220 | 222 |
} |
221 | 223 |
} |
222 | 224 |
} |
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
225 | 227 |
//LMConnector connector = GetLMConnectorOnlyOne("E12B6DC30C224B51911F2AFFEFB8ED14"); |
226 | 228 |
//if (connector != null) |
227 | 229 |
//{ |
... | ... | |
282 | 284 |
// return vertices; |
283 | 285 |
//} |
284 | 286 |
} |
287 |
private void TESTLine() |
|
288 |
{ |
|
289 |
Placement _placement = new Placement(); |
|
290 |
LMADataSource dataSource = _placement.PIDDataSource;//placement.PIDDataSource; |
|
291 |
|
|
292 |
foreach (var attributes in radApp.ActiveSelectSet[0].AttributeSets) |
|
293 |
{ |
|
294 |
foreach (var attribute in attributes) |
|
295 |
{ |
|
296 |
if (attribute.Name == "ModelID") |
|
297 |
{ |
|
298 |
LMModelItem modelItem = dataSource.GetModelItem(attribute.GetValue().ToString()); |
|
299 |
foreach (LMRepresentation representation in modelItem.Representations) |
|
300 |
{ |
|
301 |
//representa |
|
302 |
} |
|
303 |
} |
|
304 |
} |
|
305 |
} |
|
306 |
} |
|
307 |
#endregion |
|
308 |
|
|
285 | 309 |
|
286 | 310 |
[DllImport("user32.dll")] |
287 | 311 |
public static extern int FindWindow(string lpClassName, string lpWindowName); |
내보내기 Unified diff