Anonymous
in reply to:
Anonymous
12-01-2016
07:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-01-2016
07:23 AM
The code i try to make!
SyntaxEditor Code Snippet
Dim oDoc As Document Dim oCompDef As PartComponentDefinition oCompDef = ThisApplication.ActiveDocument.ComponentDefinition Dim oiFeatComp As iFeatureComponent ' Get the command manager. Dim oCommandMgr As CommandManager oCommandMgr = ThisApplication.CommandManager 'Get control definition Dim oControlDef As ControlDefinition oControlDef = ThisApplication.CommandManager.ControlDefinitions("PartiFeatureInsertCmd") ' Execute the command synchronously. Call oControlDef.Execute2(True) Dim strPrompt As String strPrompt = oiFeatComp.Name iProperties.Value("Custom", "TEST") = strPrompt
I want the name of iFeature who is selected by the user.